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

Unified Diff: Source/core/editing/Position.cpp

Issue 1301933002: Move a static member function nodeIsUserSelectNone() out from PositionAlgorithm template class (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-19T17:33:44 Move out from class Created 5 years, 4 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: Source/core/editing/Position.cpp
diff --git a/Source/core/editing/Position.cpp b/Source/core/editing/Position.cpp
index 5c458e5eba619acdeee2e3329262443a45c3765e..6197386f032bc712af58723b69fca133ac61ffa2 100644
--- a/Source/core/editing/Position.cpp
+++ b/Source/core/editing/Position.cpp
@@ -819,8 +819,7 @@ bool PositionAlgorithm<Strategy>::hasRenderedNonAnonymousDescendantsWithHeight(L
return false;
}
-template <typename Strategy>
-bool PositionAlgorithm<Strategy>::nodeIsUserSelectNone(Node* node)
+bool nodeIsUserSelectNone(Node* node)
{
return node && node->layoutObject() && !node->layoutObject()->isSelectable();
}

Powered by Google App Engine
This is Rietveld 408576698