Index: Source/core/page/TouchDisambiguation.cpp |
diff --git a/Source/core/page/TouchDisambiguation.cpp b/Source/core/page/TouchDisambiguation.cpp |
index a0ba0d9f7dfe1186efc3bcec9e1bd74a80df5162..4cab1f50e6cce83128c82af68bba715dfebfdadf 100644 |
--- a/Source/core/page/TouchDisambiguation.cpp |
+++ b/Source/core/page/TouchDisambiguation.cpp |
@@ -51,7 +51,7 @@ namespace WebCore { |
static IntRect boundingBoxForEventNodes(Node* eventNode) |
{ |
- if (!eventNode->document()->view()) |
+ if (!eventNode->document().view()) |
return IntRect(); |
IntRect result; |
@@ -65,7 +65,7 @@ static IntRect boundingBoxForEventNodes(Node* eventNode) |
result.unite(node->pixelSnappedBoundingBox()); |
node = NodeTraversal::next(node, eventNode); |
} |
- return eventNode->document()->view()->contentsToWindow(result); |
+ return eventNode->document().view()->contentsToWindow(result); |
} |
static float scoreTouchTarget(IntPoint touchPoint, int padding, IntRect boundingBox) |