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/editing/RenderedPosition.h

Issue 1122723005: Rename renderer to layoutObject in core/editing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/PlainTextRange.cpp ('k') | Source/core/editing/RenderedPosition.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/RenderedPosition.h
diff --git a/Source/core/editing/RenderedPosition.h b/Source/core/editing/RenderedPosition.h
index 7dca9b16247840e8be537d0b8371677af9c13fc0..3d602b90b5257b9a802d574894e25c7e5d63a21d 100644
--- a/Source/core/editing/RenderedPosition.h
+++ b/Source/core/editing/RenderedPosition.h
@@ -50,7 +50,7 @@ public:
explicit RenderedPosition(const Position&, EAffinity);
bool isEquivalent(const RenderedPosition&) const;
- bool isNull() const { return !m_renderer; }
+ bool isNull() const { return !m_layoutObject; }
RootInlineBox* rootBox() { return m_inlineBox ? &m_inlineBox->root() : 0; }
unsigned char bidiLevelOnLeft() const;
@@ -83,7 +83,7 @@ private:
bool atLeftBoundaryOfBidiRun(ShouldMatchBidiLevel, unsigned char bidiLevelOfRun) const;
bool atRightBoundaryOfBidiRun(ShouldMatchBidiLevel, unsigned char bidiLevelOfRun) const;
- LayoutObject* m_renderer;
+ LayoutObject* m_layoutObject;
InlineBox* m_inlineBox;
int m_offset;
@@ -95,7 +95,7 @@ private:
};
inline RenderedPosition::RenderedPosition()
- : m_renderer(nullptr)
+ : m_layoutObject(nullptr)
, m_inlineBox(nullptr)
, m_offset(0)
, m_prevLeafChild(uncachedInlineBox())
@@ -103,8 +103,8 @@ inline RenderedPosition::RenderedPosition()
{
}
-inline RenderedPosition::RenderedPosition(LayoutObject* renderer, InlineBox* box, int offset)
- : m_renderer(renderer)
+inline RenderedPosition::RenderedPosition(LayoutObject* layoutObject, InlineBox* box, int offset)
+ : m_layoutObject(layoutObject)
, m_inlineBox(box)
, m_offset(offset)
, m_prevLeafChild(uncachedInlineBox())
« no previous file with comments | « Source/core/editing/PlainTextRange.cpp ('k') | Source/core/editing/RenderedPosition.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698