Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Unified Diff: LayoutTests/inspector/device-emulation/device-emulation-test.js

Issue 341483004: [DevTools] Add desktop device presets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase, test fix Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/devtools/front_end/ResponsiveDesignView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | Source/devtools/front_end/ResponsiveDesignView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698