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

Unified Diff: third_party/WebKit/Source/core/html/TextControlElement.cpp

Issue 2647283006: Removing HandleVisible enum from FrameSelection (Closed)
Patch Set: Rebase Created 3 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/html/TextControlElement.cpp
diff --git a/third_party/WebKit/Source/core/html/TextControlElement.cpp b/third_party/WebKit/Source/core/html/TextControlElement.cpp
index ab28711b2d572a43255acb003e5a2ca3b7a58c89..eff04db5e6e6ff2c31ba60dcc60e2789f8cadd82 100644
--- a/third_party/WebKit/Source/core/html/TextControlElement.cpp
+++ b/third_party/WebKit/Source/core/html/TextControlElement.cpp
@@ -446,7 +446,7 @@ bool TextControlElement::setSelectionRange(
newSelection.setIsDirectional(direction != SelectionHasNoDirection);
frame->selection().setSelection(
- newSelection,
+ newSelection, HandleVisibility::NotVisible,
FrameSelection::DoNotAdjustInFlatTree | FrameSelection::CloseTyping |
FrameSelection::ClearTypingStyle | FrameSelection::DoNotSetFocus);
return true;

Powered by Google App Engine
This is Rietveld 408576698