| Index: Source/core/frame/FrameView.cpp
|
| diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
|
| index 2b708e618d9e068aff2c17330d3002c2ceeb2c91..0fef167ba1c0eea8ff6341fe341ad3ea1e550fb3 100644
|
| --- a/Source/core/frame/FrameView.cpp
|
| +++ b/Source/core/frame/FrameView.cpp
|
| @@ -1136,7 +1136,6 @@ void FrameView::invalidateTreeIfNeeded()
|
| invalidateRect(horizontalBarDamage());
|
| resetScrollbarDamage();
|
|
|
| -
|
| #if ENABLE(ASSERT)
|
| layoutView()->assertSubtreeClearedPaintInvalidationState();
|
| #endif
|
| @@ -1145,6 +1144,11 @@ void FrameView::invalidateTreeIfNeeded()
|
| m_frame->selection().invalidateCaretRect();
|
| }
|
|
|
| +void FrameView::invalidatePaintForDelayedTargets()
|
| +{
|
| + layoutView()->invalidatePaintForDelayedTargets();
|
| +}
|
| +
|
| DocumentLifecycle& FrameView::lifecycle() const
|
| {
|
| return m_frame->document()->lifecycle();
|
| @@ -2618,6 +2622,14 @@ void FrameView::invalidateTreeIfNeededRecursive()
|
|
|
| m_doFullPaintInvalidation = false;
|
| lifecycle().advanceTo(DocumentLifecycle::PaintInvalidationClean);
|
| +
|
| + layoutView()->invalidatePaintForDelayedTargets();
|
| + for (Frame* child = m_frame->tree().firstChild(); child; child = child->tree().nextSibling()) {
|
| + if (!child->isLocalFrame())
|
| + continue;
|
| +
|
| + toLocalFrame(child)->view()->invalidatePaintForDelayedTargets();
|
| + }
|
| }
|
|
|
| void FrameView::enableAutoSizeMode(const IntSize& minSize, const IntSize& maxSize)
|
|
|