| Index: third_party/WebKit/Source/core/paint/FramePainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/FramePainter.cpp b/third_party/WebKit/Source/core/paint/FramePainter.cpp
|
| index 3671bf714bc73b36def4cf54dd00a7dc6c1d6d54..a801a2c9dc30ced8ff16e683672374cf2f5a1411 100644
|
| --- a/third_party/WebKit/Source/core/paint/FramePainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp
|
| @@ -9,6 +9,7 @@
|
| #include "core/frame/FrameView.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/inspector/InspectorTraceEvents.h"
|
| +#include "core/layout/LayoutPart.h"
|
| #include "core/layout/LayoutView.h"
|
| #include "core/page/Page.h"
|
| #include "core/paint/LayoutObjectDrawingRecorder.h"
|
| @@ -121,6 +122,13 @@ void FramePainter::paintContents(GraphicsContext& context, const GlobalPaintFlag
|
| }
|
|
|
| if (!frameView().shouldThrottleRendering()) {
|
| + if (frameView().needsLayout()) {
|
| + fprintf(stderr, "frameView %p needsLayout (layoutPending: %d layoutViewNeedsLayout: %d isSubtreeLayout: %d)!!!!\n",
|
| + &frameView(), frameView().m_hasPendingLayout, frameView().layoutView() && frameView().layoutView()->needsLayout(), frameView().isSubtreeLayout());
|
| + showLayoutTree(frameView().layoutView());
|
| + showLayoutTree(frameView().frame().ownerLayoutObject());
|
| + frameView().showFrameTree();
|
| + }
|
| RELEASE_ASSERT(!frameView().needsLayout());
|
| ASSERT(document->lifecycle().state() >= DocumentLifecycle::CompositingClean);
|
| }
|
|
|