| Index: third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp b/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
|
| index 4fca2522b41a5dc1e400a142ba38c9bde71e3f2e..c5b3b315221c31ecf67e689a596ba87c22b0587c 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
|
| @@ -135,7 +135,7 @@ void LayoutEmbeddedObject::layout() {
|
|
|
| updateLayerTransformAfterLayout();
|
|
|
| - FrameViewBase* frameViewBase = this->widget();
|
| + FrameViewBase* frameViewBase = this->frameViewBase();
|
| if (!frameViewBase && frameView())
|
| frameView()->addPartToUpdate(*this);
|
|
|
| @@ -154,9 +154,9 @@ CompositingReasons LayoutEmbeddedObject::additionalCompositingReasons() const {
|
| }
|
|
|
| LayoutReplaced* LayoutEmbeddedObject::embeddedReplacedContent() const {
|
| - if (!node() || !widget() || !widget()->isFrameView())
|
| + if (!node() || !frameViewBase() || !frameViewBase()->isFrameView())
|
| return nullptr;
|
| - return toFrameView(widget())->embeddedReplacedContent();
|
| + return toFrameView(frameViewBase())->embeddedReplacedContent();
|
| }
|
|
|
| } // namespace blink
|
|
|