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

Unified Diff: Source/core/dom/Document.cpp

Issue 931003002: Move and rename RenderPart to LayoutPart. (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/core.gypi ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 7537380c7f837972e4f5a585e4e60815ba3d94a6..8a0242d7b0c2973a20659ce5e0b6568ff91193fa 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -163,6 +163,7 @@
#include "core/inspector/InspectorTraceEvents.h"
#include "core/inspector/ScriptCallStack.h"
#include "core/layout/HitTestResult.h"
+#include "core/layout/LayoutPart.h"
#include "core/layout/TextAutosizer.h"
#include "core/layout/compositing/LayerCompositor.h"
#include "core/loader/CookieJar.h"
@@ -180,7 +181,6 @@
#include "core/page/Page.h"
#include "core/page/PointerLockController.h"
#include "core/page/scrolling/ScrollingCoordinator.h"
-#include "core/rendering/RenderPart.h"
#include "core/rendering/RenderView.h"
#include "core/svg/SVGDocumentExtensions.h"
#include "core/svg/SVGTitleElement.h"
@@ -315,9 +315,9 @@ static bool shouldInheritSecurityOriginFromOwner(const KURL& url)
static Widget* widgetForElement(const Element& focusedElement)
{
LayoutObject* renderer = focusedElement.renderer();
- if (!renderer || !renderer->isRenderPart())
+ if (!renderer || !renderer->isLayoutPart())
return 0;
- return toRenderPart(renderer)->widget();
+ return toLayoutPart(renderer)->widget();
}
static bool acceptsEditingFocus(const Element& element)
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698