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

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

Issue 2798143003: Avoid duplicate functions/code in core/editing: DirectionalSelection (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/editing/SelectionModifier.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/SelectionModifier.cpp
diff --git a/third_party/WebKit/Source/core/editing/SelectionModifier.cpp b/third_party/WebKit/Source/core/editing/SelectionModifier.cpp
index 77e0ea5bcd11d3153e84f341429ba76e89b84bc2..f54b06a4368e4cbddd337dd22c280755d8e2e19c 100644
--- a/third_party/WebKit/Source/core/editing/SelectionModifier.cpp
+++ b/third_party/WebKit/Source/core/editing/SelectionModifier.cpp
@@ -41,7 +41,7 @@ LayoutUnit NoXPosForVerticalArrowNavigation() {
return LayoutUnit::min();
}
-static inline bool shouldAlwaysUseDirectionalSelection(LocalFrame* frame) {
+bool SelectionModifier::shouldAlwaysUseDirectionalSelection(LocalFrame* frame) {
return !frame ||
frame->editor().behavior().shouldConsiderSelectionAsDirectional();
}
« no previous file with comments | « third_party/WebKit/Source/core/editing/SelectionModifier.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698