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

Unified Diff: third_party/WebKit/Source/core/editing/FrameSelection.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/FrameSelection.h
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.h b/third_party/WebKit/Source/core/editing/FrameSelection.h
index d78e98af7b559247bc54b9a056385d56c6c036f9..cb803784fbdb18804560a312a144071f83f0d65b 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.h
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.h
@@ -269,12 +269,6 @@ class CORE_EXPORT FrameSelection final
bool shouldShowBlockCursor() const;
void setShouldShowBlockCursor(bool);
- // TODO(yosin): We should check DOM tree version and style version in
- // |FrameSelection::selection()| to make sure we use updated selection,
- // rather than having |updateIfNeeded()|. Once, we update all layout tests
- // to use updated selection, we should make |updateIfNeeded()| private.
- void updateIfNeeded();
-
void cacheRangeOfDocument(Range*);
Range* documentCachedRange() const;
void clearDocumentCachedRange();
« no previous file with comments | « third_party/WebKit/Source/core/editing/Editor.cpp ('k') | third_party/WebKit/Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698