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

Unified Diff: Source/core/editing/iterators/TextIteratorTextState.cpp

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/iterators/TextIteratorTextState.h ('k') | Source/core/editing/markup.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/iterators/TextIteratorTextState.cpp
diff --git a/Source/core/editing/iterators/TextIteratorTextState.cpp b/Source/core/editing/iterators/TextIteratorTextState.cpp
index 55825933e3611dead2f3f2344112ef206a92bb5a..fd83a763b2452da45c8bd3dbd803f0f045fd16a1 100644
--- a/Source/core/editing/iterators/TextIteratorTextState.cpp
+++ b/Source/core/editing/iterators/TextIteratorTextState.cpp
@@ -133,10 +133,10 @@ void TextIteratorTextState::emitCharacter(UChar c, Node* textNode, Node* offsetB
m_lastCharacter = c;
}
-void TextIteratorTextState::emitText(Node* textNode, LayoutText* renderer, int textStartOffset, int textEndOffset)
+void TextIteratorTextState::emitText(Node* textNode, LayoutText* layoutObject, int textStartOffset, int textEndOffset)
{
ASSERT(textNode);
- m_text = m_emitsOriginalText ? renderer->originalText() : renderer->text();
+ m_text = m_emitsOriginalText ? layoutObject->originalText() : layoutObject->text();
ASSERT(!m_text.isEmpty());
ASSERT(0 <= textStartOffset && textStartOffset < static_cast<int>(m_text.length()));
ASSERT(0 <= textEndOffset && textEndOffset <= static_cast<int>(m_text.length()));
« no previous file with comments | « Source/core/editing/iterators/TextIteratorTextState.h ('k') | Source/core/editing/markup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698