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 6198b01079c979c82a7cbebca183f88953e9b6f2..cc4d7297e8c2df17c5b0e10019c48d90bde12d44 100644 |
--- a/third_party/WebKit/Source/core/paint/FramePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp |
@@ -104,7 +104,10 @@ void FramePainter::paintContents(GraphicsContext& context, const GlobalPaintFlag |
return; |
} |
- frameView().checkDoesNotNeedLayout(); |
+ // TODO(crbug.com/590856): It's still broken when we choose not to crash when the check fails. |
+ if (!frameView().checkDoesNotNeedLayout()) |
+ return; |
+ |
// TODO(wangxianzhu): The following check should be stricter, but currently this is blocked |
// by the svg root issue (crbug.com/442939). |
ASSERT(document->lifecycle().state() >= DocumentLifecycle::CompositingClean); |