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

Unified Diff: third_party/WebKit/Source/core/editing/SelectionController.cpp

Issue 1738623004: Rename enums/functions that collide in chromium style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-4
Patch Set: get-names-5: rebase-and-stuff Created 4 years, 10 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/SelectionController.cpp
diff --git a/third_party/WebKit/Source/core/editing/SelectionController.cpp b/third_party/WebKit/Source/core/editing/SelectionController.cpp
index 5369bad9283dadb9684d8255b36e6e723630aaa8..ad5f87eb872da8392fb365ba910e6e2da2bf1674 100644
--- a/third_party/WebKit/Source/core/editing/SelectionController.cpp
+++ b/third_party/WebKit/Source/core/editing/SelectionController.cpp
@@ -610,9 +610,9 @@ bool SelectionController::mouseDownWasSingleClickInSelection() const
void SelectionController::notifySelectionChanged()
{
- if (selection().selectionType() == SelectionType::RangeSelection)
+ if (selection().getSelectionType() == SelectionType::RangeSelection)
m_selectionState = SelectionState::ExtendedSelection;
- else if (selection().selectionType() == SelectionType::CaretSelection)
+ else if (selection().getSelectionType() == SelectionType::CaretSelection)
m_selectionState = SelectionState::PlacedCaret;
else
m_selectionState = SelectionState::HaveNotStartedSelection;
« no previous file with comments | « third_party/WebKit/Source/core/editing/PendingSelection.cpp ('k') | third_party/WebKit/Source/core/editing/VisibleSelection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698