Index: Source/core/html/HTMLFrameElementBase.cpp |
diff --git a/Source/core/html/HTMLFrameElementBase.cpp b/Source/core/html/HTMLFrameElementBase.cpp |
index 7d9ca4c37c40ada9b1d265be4725f0e9724c434b..30c279269e25cb8d30aef6ee2f531bcd3caee693 100644 |
--- a/Source/core/html/HTMLFrameElementBase.cpp |
+++ b/Source/core/html/HTMLFrameElementBase.cpp |
@@ -33,10 +33,10 @@ |
#include "core/frame/LocalFrame.h" |
#include "core/frame/RemoteFrame.h" |
#include "core/html/parser/HTMLParserIdioms.h" |
+#include "core/layout/LayoutPart.h" |
#include "core/loader/FrameLoader.h" |
#include "core/page/FocusController.h" |
#include "core/page/Page.h" |
-#include "core/rendering/RenderPart.h" |
namespace blink { |
@@ -159,7 +159,7 @@ void HTMLFrameElementBase::attach(const AttachContext& context) |
{ |
HTMLFrameOwnerElement::attach(context); |
- if (renderPart()) { |
+ if (layoutPart()) { |
if (Frame* frame = contentFrame()) { |
if (frame->isLocalFrame()) |
setWidget(toLocalFrame(frame)->view()); |