Index: views/controls/link.cc |
diff --git a/views/controls/link.cc b/views/controls/link.cc |
index 68b8c417606314fea7fcab44b296767df400130d..4f60d30b1e083c280eabb04351104ac191461d43 100644 |
--- a/views/controls/link.cc |
+++ b/views/controls/link.cc |
@@ -108,6 +108,12 @@ gfx::NativeCursor Link::GetCursor(const MouseEvent& event) { |
#endif |
} |
+bool Link::HitTest(const gfx::Point& l) const { |
+ // We need to allow clicks on the link. So we override the implementation in |
+ // Label and use the default implementation of View. |
+ return View::HitTest(l); |
+} |
+ |
bool Link::OnMousePressed(const MouseEvent& event) { |
if (!IsEnabled() || |
(!event.IsLeftMouseButton() && !event.IsMiddleMouseButton())) |