| Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| index fd0887dabae0fa636e08dacc1b7e654cbd00ba46..8a5e5b8a42de264d2a1ea828b8ffe88c97fd6920 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| @@ -115,7 +115,7 @@ void PaintLayerCompositor::setCompositingModeEnabled(bool enable)
|
|
|
| // Schedule an update in the parent frame so the <iframe>'s layer in the owner
|
| // document matches the compositing state here.
|
| - if (HTMLFrameOwnerElement* ownerElement = m_layoutView.document().ownerElement())
|
| + if (HTMLFrameOwnerElement* ownerElement = m_layoutView.document().localOwner())
|
| ownerElement->setNeedsCompositingUpdate();
|
| }
|
|
|
| @@ -1119,7 +1119,7 @@ void PaintLayerCompositor::attachRootLayer(RootLayerAttachment attachment)
|
| break;
|
| }
|
| case RootLayerAttachedViaEnclosingFrame: {
|
| - HTMLFrameOwnerElement* ownerElement = m_layoutView.document().ownerElement();
|
| + HTMLFrameOwnerElement* ownerElement = m_layoutView.document().localOwner();
|
| ASSERT(ownerElement);
|
| // The layer will get hooked up via CompositedLayerMapping::updateGraphicsLayerConfiguration()
|
| // for the frame's layoutObject in the parent document.
|
| @@ -1145,7 +1145,7 @@ void PaintLayerCompositor::detachRootLayer()
|
| else
|
| m_rootContentLayer->removeFromParent();
|
|
|
| - if (HTMLFrameOwnerElement* ownerElement = m_layoutView.document().ownerElement())
|
| + if (HTMLFrameOwnerElement* ownerElement = m_layoutView.document().localOwner())
|
| ownerElement->setNeedsCompositingUpdate();
|
| break;
|
| }
|
|
|