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 0c35f7fb6fd4d79ca0b1065bf59a67e67e11b267..0ac99921fc1cfc661f274656c338a82548e10dde 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; |
} |