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 d4d5738c7dcc61ea84e7bf800a7f1d3842d3beb7..b57c398826bd686ab2cbb7f0636767915c9d8bc6 100644 |
--- a/LayoutTests/inspector/device-emulation/device-emulation-test.js |
+++ b/LayoutTests/inspector/device-emulation/device-emulation-test.js |
@@ -192,6 +192,7 @@ InspectorTest.applyEmulationAndReload = function(enabled, width, height, deviceS |
WebInspector.overridesSupport.emulateDevice(new WebInspector.OverridesSupport.Device(width + "x" + height + "x" + deviceScaleFactor + "x1x1", "")); |
else |
WebInspector.overridesSupport.reset(); |
+ WebInspector.overridesSupport.settings.emulationEnabled.set(enabled); |
function emulateCallback() |
{ |