summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/core/layout/LayoutPart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/Source/core/layout/LayoutPart.cpp')
-rw-r--r--third_party/WebKit/Source/core/layout/LayoutPart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/WebKit/Source/core/layout/LayoutPart.cpp b/third_party/WebKit/Source/core/layout/LayoutPart.cpp
index 0a83a68..def0bec 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);
}
}