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

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

Issue 1642233002: [DevTools] Cleanup various bindInput implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@device-mode-cleanup-misc
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 6e5bcd3d22dbacc3772c2d60ba25c7def667f666..44c1b8f5eb394bb806817e7ae3606eb39da9dadf 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.DeviceModeModel.deviceSizeValidator(input.value);
+ return WebInspector.DeviceModeModel.deviceSizeValidator(input.value);
}
/**
@@ -232,7 +232,7 @@ WebInspector.DevicesSettingsTab.prototype = {
*/
function scaleValidator(item, index, input)
{
- return !WebInspector.DeviceModeModel.deviceScaleFactorValidator(input.value);
+ return WebInspector.DeviceModeModel.deviceScaleFactorValidator(input.value);
}
/**

Powered by Google App Engine
This is Rietveld 408576698