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

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

Issue 2021983002: Get rid of an unused parameter in FrameSelection::moveTo() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-05-31T10:00:26 Created 4 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
« no previous file with comments | « third_party/WebKit/Source/core/editing/FrameSelection.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/FrameSelection.cpp
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
index 4d749b552289e2f8e7fc28bc5c34d08c45f18dbf..ff145b2fd52b34caca275f9966dfbc072b35c4c3 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
@@ -175,9 +175,9 @@ void FrameSelection::moveTo(const VisiblePosition &base, const VisiblePosition &
setSelection(VisibleSelection(base, extent, selectionHasDirection), options);
}
-void FrameSelection::moveTo(const Position &pos, TextAffinity affinity, EUserTriggered userTriggered)
+void FrameSelection::moveTo(const Position &pos, TextAffinity affinity)
{
- SetSelectionOptions options = CloseTyping | ClearTypingStyle | userTriggered;
+ SetSelectionOptions options = CloseTyping | ClearTypingStyle;
setSelection(VisibleSelection(pos, affinity, selection().isDirectional()), options);
}
« no previous file with comments | « third_party/WebKit/Source/core/editing/FrameSelection.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698