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

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

Issue 2703403002: Get rid of unused enum member DoNotUpdateAppearance from FrameSelection::SetSelectionOption (Closed)
Patch Set: 2017-02-22T00:32:44 Created 3 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/FrameSelection.cpp
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
index 7a0fa9a8dbdd5f6af3258dc8d58393e55bcee9a1..32f757091bc7672b4cd4d36b70da3af669fd239d 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
@@ -235,10 +235,8 @@ void FrameSelection::setSelection(const SelectionInDOMTree& passedSelection,
}
}
- if (!(options & DoNotUpdateAppearance)) {
- m_frameCaret->stopCaretBlinkTimer();
- updateAppearance();
- }
+ m_frameCaret->stopCaretBlinkTimer();
+ updateAppearance();
// Always clear the x position used for vertical arrow navigation.
// It will be restored by the vertical arrow navigation code if necessary.

Powered by Google App Engine
This is Rietveld 408576698