| Index: Source/core/html/HTMLFrameElementBase.cpp
|
| diff --git a/Source/core/html/HTMLFrameElementBase.cpp b/Source/core/html/HTMLFrameElementBase.cpp
|
| index fc6bfb98c359fdc672ec04e415689bc1cca438c5..ba01ac157794ddf69e5b837fa28039d9e4f5ce09 100644
|
| --- a/Source/core/html/HTMLFrameElementBase.cpp
|
| +++ b/Source/core/html/HTMLFrameElementBase.cpp
|
| @@ -163,10 +163,8 @@ void HTMLFrameElementBase::attach(const AttachContext& context)
|
| {
|
| HTMLFrameOwnerElement::attach(context);
|
|
|
| - if (RenderPart* part = renderPart()) {
|
| - if (Frame* frame = contentFrame())
|
| - part->setWidget(frame->view());
|
| - }
|
| + if (Frame* frame = contentFrame())
|
| + setWidget(frame->view());
|
| }
|
|
|
| KURL HTMLFrameElementBase::location() const
|
|
|