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

Unified Diff: third_party/WebKit/Source/core/editing/SelectionEditor.h

Issue 2712223002: Get rid of redundant functions updateIfNeeded() in FrameSelection and SelectionEditor (Closed)
Patch Set: 2017-02-27T11:10:27 Remove updateIfNeeded() from FrameSeleciton.h 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/SelectionEditor.h
diff --git a/third_party/WebKit/Source/core/editing/SelectionEditor.h b/third_party/WebKit/Source/core/editing/SelectionEditor.h
index cde5ee961b87f1e72dba4760f902c9404ae6e4b2..e853cfed5c37a1737d194e6513a4f60c59771b69 100644
--- a/third_party/WebKit/Source/core/editing/SelectionEditor.h
+++ b/third_party/WebKit/Source/core/editing/SelectionEditor.h
@@ -70,10 +70,6 @@ class SelectionEditor final : public GarbageCollectedFinalized<SelectionEditor>,
void resetLogicalRange();
void setLogicalRange(Range*);
- // Updates |m_selection| and |m_selectionInFlatTree| with up-to-date
- // layout if needed.
- void updateIfNeeded();
-
void cacheRangeOfDocument(Range*);
Range* documentCachedRange() const;
void clearDocumentCachedRange();

Powered by Google App Engine
This is Rietveld 408576698