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

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

Issue 2441693004: Make editingIgnoresContents() as global function (Closed)
Patch Set: 2016-10-24T12:29:25 Created 4 years, 2 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/EditingUtilities.h
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.h b/third_party/WebKit/Source/core/editing/EditingUtilities.h
index d3cf32591ac643d849ea46a2cae11d42ba98378f..eb0ef6451359308d5fce169c59ff85c0ef739cf9 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.h
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.h
@@ -163,9 +163,8 @@ inline ContainerNode* parentCrossingShadowBoundaries<EditingInFlatTreeStrategy>(
// Returns true for nodes that either have no content, or have content that is
// ignored (skipped over) while editing. There are no VisiblePositions inside
// these nodes.
-inline bool editingIgnoresContent(const Node* node) {
- return EditingStrategy::editingIgnoresContent(node);
-}
+// TODO(yosin) We should make |editingIgnoresContent()| take |Node&|.
+bool editingIgnoresContent(const Node*);
inline bool canHaveChildrenForEditing(const Node* node) {
return !node->isTextNode() && node->canContainRangeEndPoint();
« no previous file with comments | « third_party/WebKit/Source/core/editing/EditingStrategy.cpp ('k') | third_party/WebKit/Source/core/editing/Position.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698