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

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

Issue 2710883002: Expand FrameSeleciton::isNone() to increase chances of hoisting update layout (Closed)
Patch Set: 2017-02-23T16:27:43 rebase to resolve conflict with DOMSelection in r452402 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 2e8a12df037fd6b5886b930713f5009ac1964cce..f672dce6982d36352fbaaaf570b637bd852fb5a4 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.h
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.h
@@ -190,10 +190,6 @@ class CORE_EXPORT FrameSelection final
void didChangeFocus();
const SelectionInDOMTree& selectionInDOMTree() const;
- // TODO(yosin): We should rename |isNone()| to |isVisibleNone()|.
- bool isNone() const {
- return computeVisibleSelectionInDOMTreeDeprecated().isNone();
- }
bool isInPasswordField() const;
bool isDirectional() const { return selectionInDOMTree().isDirectional(); }
« 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