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

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

Issue 2920733002: Rename VisibleSelection::end() to End() (Closed)
Patch Set: 2017-06-01T18:31:38 Created 3 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
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 fda9d7aa07ecb807ce5cd816b2772ff7ed73c0a6..28f1a25ff11b14d4fa896bef176939ebb80b7c55 100644
--- a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
@@ -352,7 +352,7 @@ void IndentOutdentCommand::OutdentRegion(
return;
}
- Position original_selection_end = EndingSelection().end();
+ Position original_selection_end = EndingSelection().End();
Position end_after_selection =
EndOfParagraph(NextPositionOf(end_of_last_paragraph)).DeepEquivalent();
@@ -386,7 +386,7 @@ void IndentOutdentCommand::OutdentRegion(
GetDocument().UpdateStyleAndLayoutIgnorePendingStylesheets();
if (end_of_next_paragraph.IsNotNull() &&
!end_of_next_paragraph.IsConnected()) {
- end_of_current_paragraph = CreateVisiblePosition(EndingSelection().end());
+ end_of_current_paragraph = CreateVisiblePosition(EndingSelection().End());
end_of_next_paragraph =
EndOfParagraph(NextPositionOf(end_of_current_paragraph))
.ToPositionWithAffinity();

Powered by Google App Engine
This is Rietveld 408576698