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

Unified Diff: third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.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/ApplyStyleCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
index d707fdeb0f21659b9b57ad781db1e1a3865d928f..b2cda7c3237226d6c3a149b7412e5424120e1bf2 100644
--- a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
@@ -118,7 +118,7 @@ ApplyStyleCommand::ApplyStyleCommand(Document& document,
input_type_(input_type),
property_level_(property_level),
start_(MostForwardCaretPosition(EndingSelection().Start())),
- end_(MostBackwardCaretPosition(EndingSelection().end())),
+ end_(MostBackwardCaretPosition(EndingSelection().End())),
use_ending_selection_(true),
styled_inline_element_(nullptr),
remove_only_(false),
@@ -145,7 +145,7 @@ ApplyStyleCommand::ApplyStyleCommand(Element* element, bool remove_only)
input_type_(InputEvent::InputType::kNone),
property_level_(kPropertyDefault),
start_(MostForwardCaretPosition(EndingSelection().Start())),
- end_(MostBackwardCaretPosition(EndingSelection().end())),
+ end_(MostBackwardCaretPosition(EndingSelection().End())),
use_ending_selection_(true),
styled_inline_element_(element),
remove_only_(remove_only),
@@ -161,7 +161,7 @@ ApplyStyleCommand::ApplyStyleCommand(
input_type_(input_type),
property_level_(kPropertyDefault),
start_(MostForwardCaretPosition(EndingSelection().Start())),
- end_(MostBackwardCaretPosition(EndingSelection().end())),
+ end_(MostBackwardCaretPosition(EndingSelection().End())),
use_ending_selection_(true),
styled_inline_element_(nullptr),
remove_only_(true),
@@ -193,7 +193,7 @@ Position ApplyStyleCommand::StartPosition() {
Position ApplyStyleCommand::EndPosition() {
if (use_ending_selection_)
- return EndingSelection().end();
+ return EndingSelection().End();
return end_;
}

Powered by Google App Engine
This is Rietveld 408576698