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

Unified Diff: third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp

Issue 1611953002: Rename editableRootElementForPosition() to rootEditableElementOf() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-01-21T18:23:57 Created 4 years, 11 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: third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
index 9666804346560afe9d2d15fa6830b150d14b787b..7425d2ac515bb30571d34cd47b1d1e443cf30a72 100644
--- a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
@@ -111,7 +111,7 @@ void IndentOutdentCommand::indentIntoBlockquote(const Position& start, const Pos
else if (enclosingList(start.computeContainerNode()))
elementToSplitTo = enclosingBlock(start.computeContainerNode());
else
- elementToSplitTo = editableRootElementForPosition(start);
+ elementToSplitTo = rootEditableElementOf(start);
if (!elementToSplitTo)
return;

Powered by Google App Engine
This is Rietveld 408576698