Index: Source/core/html/HTMLFrameSetElement.cpp |
diff --git a/Source/core/html/HTMLFrameSetElement.cpp b/Source/core/html/HTMLFrameSetElement.cpp |
index 1a7e7882ce396865b9853891b330ad75bf2a425b..8b37e79621ea5ac544093d65466335d8cd509cdb 100644 |
--- a/Source/core/html/HTMLFrameSetElement.cpp |
+++ b/Source/core/html/HTMLFrameSetElement.cpp |
@@ -33,8 +33,8 @@ |
#include "core/frame/LocalFrame.h" |
#include "core/html/HTMLCollection.h" |
#include "core/html/HTMLFrameElement.h" |
+#include "core/layout/LayoutFrameSet.h" |
#include "core/loader/FrameLoaderClient.h" |
-#include "core/rendering/RenderFrameSet.h" |
namespace blink { |
@@ -158,7 +158,7 @@ LayoutObject* HTMLFrameSetElement::createRenderer(const LayoutStyle& style) |
{ |
if (style.hasContent()) |
return LayoutObject::createObject(this, style); |
- return new RenderFrameSet(this); |
+ return new LayoutFrameSet(this); |
} |
void HTMLFrameSetElement::attach(const AttachContext& context) |
@@ -184,7 +184,7 @@ void HTMLFrameSetElement::attach(const AttachContext& context) |
void HTMLFrameSetElement::defaultEventHandler(Event* evt) |
{ |
if (evt->isMouseEvent() && !m_noresize && renderer() && renderer()->isFrameSet()) { |
- if (toRenderFrameSet(renderer())->userResize(toMouseEvent(evt))) { |
+ if (toLayoutFrameSet(renderer())->userResize(toMouseEvent(evt))) { |
evt->setDefaultHandled(); |
return; |
} |