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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
Index: Source/core/editing/TypingCommand.cpp
diff --git a/Source/core/editing/TypingCommand.cpp b/Source/core/editing/TypingCommand.cpp
index 1361a80c776ec4fbd2165edeed56a3fe14f78e43..ee083dbf4c29818b87ae4d19846852d34ac57a75 100644
--- a/Source/core/editing/TypingCommand.cpp
+++ b/Source/core/editing/TypingCommand.cpp
@@ -392,7 +392,7 @@ bool TypingCommand::makeEditableRootEmpty()
if (root->firstChild() == root->lastChild()) {
if (isHTMLBRElement(root->firstChild())) {
// If there is a single child and it could be a placeholder, leave it alone.
- if (root->renderer() && root->renderer()->isLayoutBlockFlow())
+ if (root->layoutObject() && root->layoutObject()->isLayoutBlockFlow())
return false;
}
}
« no previous file with comments | « Source/core/editing/SplitTextNodeContainingElementCommand.cpp ('k') | Source/core/editing/VisiblePosition.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698