| Index: Source/core/layout/LayoutPart.cpp
|
| diff --git a/Source/core/layout/LayoutPart.cpp b/Source/core/layout/LayoutPart.cpp
|
| index cae3fb991c9aa9970659e306f186f9fd9452063c..d3a1372d967c2371f5e905e5a8bca2f0f49a853f 100644
|
| --- a/Source/core/layout/LayoutPart.cpp
|
| +++ b/Source/core/layout/LayoutPart.cpp
|
| @@ -331,4 +331,15 @@ bool LayoutPart::setWidgetGeometry(const LayoutRect& frame)
|
| return widget->frameRect().size() != newFrame.size();
|
| }
|
|
|
| +void LayoutPart::invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState& paintInvalidationState)
|
| +{
|
| + if (widget() && widget()->isFrameView()) {
|
| + FrameView* childFrameView = toFrameView(widget());
|
| + PaintInvalidationState childViewPaintInvalidationState(*childFrameView->layoutView(), paintInvalidationState);
|
| + toFrameView(widget())->invalidateTreeIfNeeded(childViewPaintInvalidationState);
|
| + }
|
| +
|
| + LayoutReplaced::invalidatePaintOfSubtreesIfNeeded(paintInvalidationState);
|
| +}
|
| +
|
| }
|
|
|