Index: Source/WebCore/inspector/InspectorOverlayPage.html |
=================================================================== |
--- Source/WebCore/inspector/InspectorOverlayPage.html (revision 134412) |
+++ Source/WebCore/inspector/InspectorOverlayPage.html (working copy) |
@@ -124,6 +124,8 @@ |
function _drawGrid(highlight, rulerAtRight, rulerAtBottom) |
{ |
+ if (!highlight.showRulers) |
+ return; |
context.save(); |
var width = canvas.width; |
@@ -403,6 +405,8 @@ |
function _drawRulers(highlight, rulerAtRight, rulerAtBottom) |
{ |
+ if (!highlight.showRulers) |
+ return; |
context.save(); |
var width = canvas.width; |
var height = canvas.height; |