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

Unified Diff: Source/core/editing/FrameSelection.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/dom/Element.cpp ('k') | Source/core/editing/iterators/SimplifiedBackwardsTextIterator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/FrameSelection.cpp
diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp
index 84dd9a0fd2f5acc64c38d2d0969b0a2af8e3555b..c906e6c20cf474cb483b1b88c694b019796dbd22 100644
--- a/Source/core/editing/FrameSelection.cpp
+++ b/Source/core/editing/FrameSelection.cpp
@@ -58,6 +58,7 @@
#include "core/layout/HitTestRequest.h"
#include "core/layout/HitTestResult.h"
#include "core/layout/Layer.h"
+#include "core/layout/LayoutPart.h"
#include "core/layout/LayoutTheme.h"
#include "core/layout/line/InlineTextBox.h"
#include "core/page/EditorClient.h"
@@ -66,7 +67,6 @@
#include "core/page/FrameTree.h"
#include "core/page/Page.h"
#include "core/page/SpatialNavigation.h"
-#include "core/rendering/RenderPart.h"
#include "core/rendering/RenderText.h"
#include "core/rendering/RenderView.h"
#include "platform/SecureTextInput.h"
@@ -1625,9 +1625,9 @@ static bool isFrameElement(const Node* n)
if (!n)
return false;
LayoutObject* renderer = n->renderer();
- if (!renderer || !renderer->isRenderPart())
+ if (!renderer || !renderer->isLayoutPart())
return false;
- Widget* widget = toRenderPart(renderer)->widget();
+ Widget* widget = toLayoutPart(renderer)->widget();
return widget && widget->isFrameView();
}
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/editing/iterators/SimplifiedBackwardsTextIterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698