Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index 055dc003990c16754a31d390ba5aa50fb153c637..dcfd8cc80098481ba442eb978c4564b6f1906784 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -2554,9 +2554,7 @@ void FrameView::paintContents(GraphicsContext* p, const IntRect& rect) |
return; |
} |
- ASSERT(!needsLayout()); |
- if (needsLayout()) |
- return; |
+ RELEASE_ASSERT(!needsLayout()); |
TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "Paint", "data", InspectorPaintEvent::data(renderView, rect, 0)); |
TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline.stack"), "CallStack", "stack", InspectorCallStackEvent::currentCallStack()); |