Index: LayoutTests/inspector/device-emulation/device-emulation-test.js |
diff --git a/LayoutTests/inspector/device-emulation/device-emulation-test.js b/LayoutTests/inspector/device-emulation/device-emulation-test.js |
index daf5f0728f3be3e2262b43a8141d9f24926d882f..d4d5738c7dcc61ea84e7bf800a7f1d3842d3beb7 100644 |
--- a/LayoutTests/inspector/device-emulation/device-emulation-test.js |
+++ b/LayoutTests/inspector/device-emulation/device-emulation-test.js |
@@ -189,7 +189,7 @@ InspectorTest.applyEmulationAndReload = function(enabled, width, height, deviceS |
{ |
InspectorTest.addSniffer(WebInspector.overridesSupport, "_deviceMetricsOverrideAppliedForTest", emulateCallback); |
if (enabled) |
- WebInspector.overridesSupport.emulateDevice(width + "x" + height + "x" + deviceScaleFactor + "x0x0", ""); |
+ WebInspector.overridesSupport.emulateDevice(new WebInspector.OverridesSupport.Device(width + "x" + height + "x" + deviceScaleFactor + "x1x1", "")); |
else |
WebInspector.overridesSupport.reset(); |