Index: chrome/browser/ui/views/location_bar/content_setting_image_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/content_setting_image_view.cc b/chrome/browser/ui/views/location_bar/content_setting_image_view.cc |
index b3424657a5875c731952081688995c2b3e3b2782..f975b3cd25c2e43e71e8c87a1c59b26318407074 100644 |
--- a/chrome/browser/ui/views/location_bar/content_setting_image_view.cc |
+++ b/chrome/browser/ui/views/location_bar/content_setting_image_view.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -124,9 +124,8 @@ bool ContentSettingImageView::OnMousePressed(const views::MouseEvent& event) { |
return true; |
} |
-void ContentSettingImageView::OnMouseReleased(const views::MouseEvent& event, |
- bool canceled) { |
- if (canceled || !HitTest(event.location())) |
+void ContentSettingImageView::OnMouseReleased(const views::MouseEvent& event) { |
+ if (!HitTest(event.location())) |
return; |
TabContents* tab_contents = parent_->GetTabContentsWrapper()->tab_contents(); |