| Index: Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
|
| diff --git a/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp b/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
|
| index 96cbd28a83e364b7906caa15d6adc7ab9b3b3b66..804cc7e049fde960b2aaf6a5b051e536d709ed1d 100644
|
| --- a/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
|
| +++ b/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
|
| @@ -250,6 +250,30 @@ void DeprecatedPaintLayerCompositor::updateIfNeededRecursive()
|
| #endif
|
| }
|
|
|
| +void DeprecatedPaintLayerCompositor::updateLifecycleToCompositingClean()
|
| +{
|
| + for (Frame* child = m_layoutView.frameView()->frame().tree().firstChild(); child; child = child->tree().nextSibling()) {
|
| + if (!child->isLocalFrame())
|
| + continue;
|
| + LocalFrame* localFrame = toLocalFrame(child);
|
| + if (localFrame->document()->isActive())
|
| + localFrame->contentLayoutObject()->compositor()->updateLifecycleToCompositingClean();
|
| + }
|
| +
|
| + enableCompositingModeIfNeeded();
|
| +
|
| + if (m_needsUpdateDescendantDependentFlags) {
|
| + updateDescendantDependentFlagsForEntireSubtree(*rootLayer());
|
| + m_needsUpdateDescendantDependentFlags = false;
|
| + }
|
| +
|
| + m_layoutView.commitPendingSelection();
|
| +
|
| + lifecycle().advanceTo(DocumentLifecycle::InCompositingUpdate);
|
| + updateIfNeeded();
|
| + lifecycle().advanceTo(DocumentLifecycle::CompositingClean);
|
| +}
|
| +
|
| void DeprecatedPaintLayerCompositor::setNeedsCompositingUpdate(CompositingUpdateType updateType)
|
| {
|
| ASSERT(updateType != CompositingUpdateNone);
|
|
|