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

Unified Diff: Source/core/editing/RenderedPosition.cpp

Issue 898783003: Move rendering/RenderLayer* to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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/editing/FrameSelection.cpp ('k') | Source/core/events/MouseRelatedEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/RenderedPosition.cpp
diff --git a/Source/core/editing/RenderedPosition.cpp b/Source/core/editing/RenderedPosition.cpp
index 2b09f45ff55c0a6da07380a900d221dd8e466bb4..7ad6fe3d1e232ddfa45cb1530fbfe0bd45602ccc 100644
--- a/Source/core/editing/RenderedPosition.cpp
+++ b/Source/core/editing/RenderedPosition.cpp
@@ -33,8 +33,8 @@
#include "core/dom/Position.h"
#include "core/editing/VisiblePosition.h"
+#include "core/layout/Layer.h"
#include "core/layout/compositing/CompositedSelectionBound.h"
-#include "core/rendering/RenderLayer.h"
namespace blink {
@@ -242,7 +242,7 @@ void RenderedPosition::positionInGraphicsLayerBacking(CompositedSelectionBound&
return;
LayoutRect rect = m_renderer->localCaretRect(m_inlineBox, m_offset);
- RenderLayer* layer = nullptr;
+ Layer* layer = nullptr;
bound.edgeTopInLayer = m_renderer->localToInvalidationBackingPoint(rect.minXMinYCorner(), &layer);
bound.edgeBottomInLayer = m_renderer->localToInvalidationBackingPoint(rect.minXMaxYCorner(), nullptr);
bound.layer = layer ? layer->graphicsLayerBacking() : nullptr;
« no previous file with comments | « Source/core/editing/FrameSelection.cpp ('k') | Source/core/events/MouseRelatedEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698