Chromium Code Reviews| Index: Source/core/layout/HitTestResult.h |
| diff --git a/Source/core/layout/HitTestResult.h b/Source/core/layout/HitTestResult.h |
| index 5a45b86ac7c6fc16c11ae13a89f39690c7dd1df9..93305e689fe3aace018090eef9adddde26c37340 100644 |
| --- a/Source/core/layout/HitTestResult.h |
| +++ b/Source/core/layout/HitTestResult.h |
| @@ -91,7 +91,7 @@ public: |
| // The hit-tested point in the coordinates of the inner node. |
| const LayoutPoint& localPoint() const { return m_localPoint; } |
| - void setLocalPoint(const LayoutPoint& p) { m_localPoint = p; } |
| + void setNodeAndPosition(Node* node, const LayoutPoint& p) { m_localPoint = p; setInnerNode(node); } |
|
pdr.
2015/04/24 21:48:23
I like this cleanup.
|
| PositionWithAffinity position() const; |
| LayoutObject* layoutObject() const; |