Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(860)

Unified Diff: Source/core/html/HTMLFrameSetElement.cpp

Issue 929223003: Move and rename RenderFrame and RenderFrameSet. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLFrameElement.cpp ('k') | Source/core/layout/LayoutFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « Source/core/html/HTMLFrameElement.cpp ('k') | Source/core/layout/LayoutFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698