Index: chrome/browser/ui/views/screen_capture_notification_ui_views.cc |
diff --git a/chrome/browser/ui/views/screen_capture_notification_ui_views.cc b/chrome/browser/ui/views/screen_capture_notification_ui_views.cc |
index 3bb3727ebc66f231d11e2503451a67ef65bea930..86608704805e7c14f774a4ddfdd6c57fc1392fad 100644 |
--- a/chrome/browser/ui/views/screen_capture_notification_ui_views.cc |
+++ b/chrome/browser/ui/views/screen_capture_notification_ui_views.cc |
@@ -62,7 +62,7 @@ class NotificationBarClientView : public views::ClientView { |
if (!bounds().Contains(point)) |
return HTNOWHERE; |
// The whole window is HTCAPTION, except the |rect_|. |
- if (rect_.Contains(gfx::PointAtOffsetFromOrigin(point - bounds().origin()))) |
+ if (rect_.Contains(gfx::PointAtOffsetFromOrigin(point - origin()))) |
return HTCLIENT; |
return HTCAPTION; |