Index: Source/core/dom/Range.cpp |
diff --git a/Source/core/dom/Range.cpp b/Source/core/dom/Range.cpp |
index 75b7fd88993465bc3f2977676ec2844ad8ec8c91..15a140adf20a4d1662d9ebe2da626433dafc99e1 100644 |
--- a/Source/core/dom/Range.cpp |
+++ b/Source/core/dom/Range.cpp |
@@ -548,7 +548,7 @@ static inline Node* childOfCommonRootBeforeOffset(Node* container, unsigned offs |
return container; |
} |
-static inline unsigned lengthOfContentsInNode(Node* node) |
+unsigned Range::lengthOfContentsInNode(const Node* node) |
Yuta Kitamura
2014/06/05 08:37:55
I don't think this function should be exposed as a
yoichio
2014/06/06 04:49:21
Done.
|
{ |
// This switch statement must be consistent with that of Range::processContentsBetweenOffsets. |
switch (node->nodeType()) { |