Index: Source/WebCore/page/FrameView.cpp |
=================================================================== |
--- Source/WebCore/page/FrameView.cpp (revision 132816) |
+++ Source/WebCore/page/FrameView.cpp (working copy) |
@@ -3207,6 +3207,10 @@ |
RenderObject* eltRenderer = m_nodeToDraw ? m_nodeToDraw->renderer() : 0; |
RenderLayer* rootLayer = root->layer(); |
+#ifndef NDEBUG |
+ RenderObject::SetLayoutNeededForbiddenScope forbidSetNeedsLayout(rootLayer->renderer()); |
+#endif |
+ |
rootLayer->paint(p, rect, m_paintBehavior, eltRenderer); |
if (rootLayer->containsDirtyOverlayScrollbars()) |