| Index: Source/core/html/HTMLFrameOwnerElement.cpp
|
| diff --git a/Source/core/html/HTMLFrameOwnerElement.cpp b/Source/core/html/HTMLFrameOwnerElement.cpp
|
| index 00d209845faaf5a54ba4a542dd2fd0e6ead27b14..377a7e2c9fb4f872d26ade1aea81bdb5717ebd76 100644
|
| --- a/Source/core/html/HTMLFrameOwnerElement.cpp
|
| +++ b/Source/core/html/HTMLFrameOwnerElement.cpp
|
| @@ -115,9 +115,9 @@ LayoutPart* HTMLFrameOwnerElement::layoutPart() const
|
| {
|
| // HTMLObjectElement and HTMLEmbedElement may return arbitrary renderers
|
| // when using fallback content.
|
| - if (!renderer() || !renderer()->isLayoutPart())
|
| + if (!layoutObject() || !layoutObject()->isLayoutPart())
|
| return nullptr;
|
| - return toLayoutPart(renderer());
|
| + return toLayoutPart(layoutObject());
|
| }
|
|
|
| void HTMLFrameOwnerElement::setContentFrame(Frame& frame)
|
| @@ -221,7 +221,7 @@ void HTMLFrameOwnerElement::setWidget(PassRefPtrWillBeRawPtr<Widget> widget)
|
|
|
| m_widget = widget;
|
|
|
| - LayoutPart* layoutPart = toLayoutPart(renderer());
|
| + LayoutPart* layoutPart = toLayoutPart(layoutObject());
|
| if (!layoutPart)
|
| return;
|
|
|
|
|