| Index: third_party/WebKit/WebCore/rendering/RenderTreeAsText.cpp
|
| ===================================================================
|
| --- third_party/WebKit/WebCore/rendering/RenderTreeAsText.cpp (revision 9310)
|
| +++ 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.renderer()->clientWidth() != l.scrollWidth())
|
| + if (l.renderBox() && l.renderBox()->clientWidth() != l.scrollWidth())
|
| ts << " scrollWidth " << l.scrollWidth();
|
| - if (l.renderer()->clientHeight() != l.scrollHeight())
|
| + if (l.renderBox() && l.renderBox()->clientHeight() != l.scrollHeight())
|
| ts << " scrollHeight " << l.scrollHeight();
|
| }
|
|
|
|
|