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

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

Issue 212103004: [DevTools] Show device screen size in DIPs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tests Created 6 years, 9 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/OverridesSupport.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 0df27bdde0601f6ccec5af2794dd1f56cd2cc334..a78f78042d6733e17745a047b9bd988200af8169 100644
--- a/LayoutTests/inspector/device-emulation/device-emulation-test.js
+++ b/LayoutTests/inspector/device-emulation/device-emulation-test.js
@@ -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", "");
« no previous file with comments | « no previous file | Source/devtools/front_end/OverridesSupport.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698