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

Unified Diff: Source/devtools/front_end/elements/MetricsSidebarPane.js

Issue 396993003: DevTools: get rid of WebInspector.cssModel, use target models instead (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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: Source/devtools/front_end/elements/MetricsSidebarPane.js
diff --git a/Source/devtools/front_end/elements/MetricsSidebarPane.js b/Source/devtools/front_end/elements/MetricsSidebarPane.js
index a5a9d95fc0cea8793d5f011bb4e3a1954bc6e2f9..0eb4c5783a6884b69b7c2ab1e464959fd159a672 100644
--- a/Source/devtools/front_end/elements/MetricsSidebarPane.js
+++ b/Source/devtools/front_end/elements/MetricsSidebarPane.js
@@ -439,7 +439,7 @@ WebInspector.MetricsSidebarPane.prototype = {
if (computedStyle.getPropertyValue("box-sizing") === "border-box" && (styleProperty === "width" || styleProperty === "height")) {
if (!userInput.match(/px$/)) {
- WebInspector.console.addErrorMessage("For elements with box-sizing: border-box, only absolute content area dimensions can be applied", true);
+ WebInspector.console.error("For elements with box-sizing: border-box, only absolute content area dimensions can be applied");
return;
}

Powered by Google App Engine
This is Rietveld 408576698