Index: Source/core/html/HTMLFrameElementBase.cpp |
diff --git a/Source/core/html/HTMLFrameElementBase.cpp b/Source/core/html/HTMLFrameElementBase.cpp |
index 87abc68c5568c666593a5d08c5e14ac1973c4da4..76537f50ffcc6d3a73665a4391593ea20581cfcc 100644 |
--- a/Source/core/html/HTMLFrameElementBase.cpp |
+++ b/Source/core/html/HTMLFrameElementBase.cpp |
@@ -158,10 +158,10 @@ void HTMLFrameElementBase::attach(const AttachContext& context) |
{ |
HTMLFrameOwnerElement::attach(context); |
- if (RenderPart* part = renderPart()) { |
+ if (renderPart()) { |
if (Frame* frame = contentFrame()) { |
if (frame->isLocalFrame()) |
- part->setWidget(toLocalFrame(frame)->view()); |
+ setWidget(toLocalFrame(frame)->view()); |
} |
} |
} |