revert 60c3c1d1 thanks Chrome38 handles dpi scaling correctly & prevent the issue when window.outerWidth == 0
Merge pull request #428 from xia-sava/feature/fix-device-ratio

Chrome38対応