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

Unified Diff: Source/core/editing/markup.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.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/markup.cpp
diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp
index 7fd348afaa733a5d98ffc5868a1822cd914f026c..aa3484c5d3f5e310ec1a9d0bf8c6f2fe3781c4ba 100644
--- a/Source/core/editing/markup.cpp
+++ b/Source/core/editing/markup.cpp
@@ -438,13 +438,13 @@ bool isPlainTextMarkup(Node* node)
static bool shouldPreserveNewline(const Range& range)
{
if (Node* node = range.firstNode()) {
- if (LayoutObject* renderer = node->layoutObject())
- return renderer->style()->preserveNewline();
+ if (LayoutObject* layoutObject = node->layoutObject())
+ return layoutObject->style()->preserveNewline();
}
if (Node* node = range.startPosition().anchorNode()) {
- if (LayoutObject* renderer = node->layoutObject())
- return renderer->style()->preserveNewline();
+ if (LayoutObject* layoutObject = node->layoutObject())
+ return layoutObject->style()->preserveNewline();
}
return false;
« no previous file with comments | « Source/core/editing/iterators/TextIteratorTextState.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698