Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / device-emulation / device-emulation-test.js
index 0df27bd..a78f780 100644 (file)
@@ -179,8 +179,6 @@ InspectorTest.getPageMetrics = function(callback)
 
 InspectorTest.applyEmulationAndReload = function(width, height, deviceScaleFactor, viewport, callback)
 {
-    width *= deviceScaleFactor;
-    height *= deviceScaleFactor;
     InspectorTest.addSniffer(WebInspector.overridesSupport, "_deviceMetricsOverrideAppliedForTest", emulateCallback);
     WebInspector.overridesSupport.emulateDevice(width + "x" + height + "x" + deviceScaleFactor + "x0x0", "");