summaryrefslogtreecommitdiffstats
path: root/chrome/views/link.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/link.cc')
-rw-r--r--chrome/views/link.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/views/link.cc b/chrome/views/link.cc
index a8d0f4f..8350a7b 100644
--- a/chrome/views/link.cc
+++ b/chrome/views/link.cc
@@ -84,7 +84,7 @@ bool Link::OnMousePressed(const MouseEvent& e) {
bool Link::OnMouseDragged(const MouseEvent& e) {
SetHighlighted(enabled_ &&
(e.IsLeftMouseButton() || e.IsMiddleMouseButton()) &&
- HitTest(WTL::CPoint(e.GetX(), e.GetY())));
+ HitTest(WTL::CPoint(e.x(), e.y())));
return true;
}
@@ -94,7 +94,7 @@ void Link::OnMouseReleased(const MouseEvent& e, bool canceled) {
SetHighlighted(false);
if (enabled_ && !canceled &&
(e.IsLeftMouseButton() || e.IsMiddleMouseButton()) &&
- HitTest(WTL::CPoint(e.GetX(), e.GetY()))) {
+ HitTest(WTL::CPoint(e.x(), e.y()))) {
// Focus the link on click.
RequestFocus();