Index: Source/WebCore/inspector/front-end/DOMAgent.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/DOMAgent.js (revision 134412) |
+++ Source/WebCore/inspector/front-end/DOMAgent.js (working copy) |
@@ -1242,7 +1242,7 @@ |
_buildHighlightConfig: function(mode) |
{ |
mode = mode || "all"; |
- var highlightConfig = { showInfo: mode === "all" }; |
+ var highlightConfig = { showInfo: mode === "all", showRulers: WebInspector.settings.showMetricsRulers.get() }; |
if (mode === "all" || mode === "content") |
highlightConfig.contentColor = WebInspector.Color.PageHighlight.Content.toProtocolRGBA(); |