Index: third_party/WebKit/WebCore/rendering/RenderTreeAsText.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/rendering/RenderTreeAsText.cpp (revision 9383) |
+++ third_party/WebKit/WebCore/rendering/RenderTreeAsText.cpp (working copy) |
@@ -433,9 +433,9 @@ |
ts << " scrollX " << l.scrollXOffset(); |
if (l.scrollYOffset()) |
ts << " scrollY " << l.scrollYOffset(); |
- if (l.renderBox() && l.renderBox()->clientWidth() != l.scrollWidth()) |
+ if (l.renderer()->clientWidth() != l.scrollWidth()) |
ts << " scrollWidth " << l.scrollWidth(); |
- if (l.renderBox() && l.renderBox()->clientHeight() != l.scrollHeight()) |
+ if (l.renderer()->clientHeight() != l.scrollHeight()) |
ts << " scrollHeight " << l.scrollHeight(); |
} |