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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js

Issue 1631223003: [DevTools] Do not use OverridesSupport anywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
Index: third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js b/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js
index 5d121fc790eaad02e350ac873484b4e0268a9a5a..6e5bcd3d22dbacc3772c2d60ba25c7def667f666 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js
@@ -221,7 +221,7 @@ WebInspector.DevicesSettingsTab.prototype = {
*/
function sizeValidator(item, index, input)
{
- return !WebInspector.OverridesSupport.deviceSizeValidator(input.value);
+ return !WebInspector.DeviceModeModel.deviceSizeValidator(input.value);
}
/**
@@ -232,7 +232,7 @@ WebInspector.DevicesSettingsTab.prototype = {
*/
function scaleValidator(item, index, input)
{
- return !WebInspector.OverridesSupport.deviceScaleFactorValidator(input.value);
+ return !WebInspector.DeviceModeModel.deviceScaleFactorValidator(input.value);
}
/**

Powered by Google App Engine
This is Rietveld 408576698