Index: third_party/WebKit/Source/core/layout/LayoutPart.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutPart.cpp b/third_party/WebKit/Source/core/layout/LayoutPart.cpp |
index 0a83a6843dfb5ec2ff752fc4fdbc5e235042c7b7..def0becaf8e64b131bac80de75d3016338fcc033 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutPart.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutPart.cpp |
@@ -349,13 +349,13 @@ bool LayoutPart::setWidgetGeometry(const LayoutRect& frame) |
void LayoutPart::invalidatePaintOfSubtreesIfNeeded(const PaintInvalidationState& paintInvalidationState) |
{ |
- if (widget() && widget()->isFrameView()) { |
+ if (widget() && widget()->isFrameView() && !isThrottledFrameView()) { |
FrameView* childFrameView = toFrameView(widget()); |
// |childFrameView| is in another document, which could be |
// missing its LayoutView. TODO(jchaffraix): Ideally we should |
// not need this code. |
if (LayoutView* childLayoutView = childFrameView->layoutView()) { |
- PaintInvalidationState childViewPaintInvalidationState(*childLayoutView, paintInvalidationState); |
+ PaintInvalidationState childViewPaintInvalidationState(paintInvalidationState, *childLayoutView); |
childFrameView->invalidateTreeIfNeeded(childViewPaintInvalidationState); |
} |
} |