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