Index: third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp b/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp |
index 9a1ea04b7e228cf9c1bd39cc086587d4c9aab8b0..8e9533b61cfb54646819e1aec0cc149fb94f28a9 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp |
@@ -215,7 +215,7 @@ void SVGTextContentElement::selectSubString(unsigned charnum, |
// Find selection start |
VisiblePosition start = VisiblePosition::FirstPositionInNode( |
- const_cast<SVGTextContentElement*>(this)); |
+ *const_cast<SVGTextContentElement*>(this)); |
for (unsigned i = 0; i < charnum; ++i) |
start = NextPositionOf(start); |