Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index 5d42bdac25b2d6c954d44fa2973ecd91db2e3f19..b5bd85aaa8141d8553e2114b21981f873d2caf24 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -294,6 +294,9 @@ bool FrameView::didFirstLayout() const |
void FrameView::invalidateRect(const IntRect& rect) |
{ |
+ // For querying RenderLayer::compositingState() when invalidating scrollbars. |
+ // FIXME: do all scrollbar invalidations after layout of all frames is complete. It's currently not recursively true. |
+ DisableCompositingQueryAsserts disabler; |
if (!parent()) { |
if (HostWindow* window = hostWindow()) |
window->invalidateContentsAndRootView(rect); |