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 4d18a83f9d36feeee632cd43d076acfcba56dd8c..7df47f44c92ba3ce54b5f8c0b39fa5356e9b296f 100644 |
--- a/chrome/browser/ui/views/screen_capture_notification_ui_views.cc |
+++ b/chrome/browser/ui/views/screen_capture_notification_ui_views.cc |
@@ -86,7 +86,7 @@ class ScreenCaptureNotificationUIViews |
OVERRIDE; |
// views::View overrides. |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
virtual void Layout() OVERRIDE; |
// views::WidgetDelegateView overrides. |
@@ -216,7 +216,7 @@ gfx::NativeViewId ScreenCaptureNotificationUIViews::OnStarted( |
#endif |
} |
-gfx::Size ScreenCaptureNotificationUIViews::GetPreferredSize() { |
+gfx::Size ScreenCaptureNotificationUIViews::GetPreferredSize() const { |
gfx::Size grip_size = gripper_->GetPreferredSize(); |
gfx::Size label_size = label_->GetPreferredSize(); |
gfx::Size stop_button_size = stop_button_->GetPreferredSize(); |