Index: third_party/WebKit/Source/core/editing/Position.h |
diff --git a/third_party/WebKit/Source/core/editing/Position.h b/third_party/WebKit/Source/core/editing/Position.h |
index 81a64ea1b89c96983ad159a6f512c467db3a1f9f..5f29c7670a32accc1a24b685a3da4cfab9b5cdfa 100644 |
--- a/third_party/WebKit/Source/core/editing/Position.h |
+++ b/third_party/WebKit/Source/core/editing/Position.h |
@@ -136,7 +136,7 @@ class CORE_TEMPLATE_CLASS_EXPORT PositionTemplate { |
// These are convenience methods which are smart about whether the position is |
// neighbor anchored or parent anchored |
- Node* ComputeNodeBeforePosition() const; |
+ const Node* ComputeNodeBeforePosition() const; |
Node* ComputeNodeAfterPosition() const; |
// Returns node as |Range::firstNode()|. This position must be a |