Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index cc50ee436deeab697f5aa8653b123d69234bf226..5e6ae7dc70028e6107ca404cd6dd90479e0ce145 100644 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -532,7 +532,7 @@ bool EventHandler::handleMousePressEventTripleClick(const MouseEventWithHitTestR |
static int textDistance(const Position& start, const Position& end) |
{ |
- RefPtr<Range> range = Range::create(&start.anchorNode()->document(), start, end); |
+ RefPtr<Range> range = Range::create(start.anchorNode()->document(), start, end); |
return TextIterator::rangeLength(range.get(), true); |
} |