Index: chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc |
diff --git a/chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc b/chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc |
index 68d94dc1b516eb256d3a5f1e92d270284a778c36..f93f53bf048547537aeb63da734a1692c67308e7 100644 |
--- a/chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc |
+++ b/chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc |
@@ -97,7 +97,7 @@ void GlassAppWindowFrameViewWin::GetWindowMask(const gfx::Size& size, |
// We got nothing to say about no window mask. |
} |
-gfx::Size GlassAppWindowFrameViewWin::GetPreferredSize() { |
+gfx::Size GlassAppWindowFrameViewWin::GetPreferredSize() const { |
gfx::Size pref = widget_->client_view()->GetPreferredSize(); |
gfx::Rect bounds(0, 0, pref.width(), pref.height()); |
return widget_->non_client_view() |
@@ -109,7 +109,7 @@ const char* GlassAppWindowFrameViewWin::GetClassName() const { |
return kViewClassName; |
} |
-gfx::Size GlassAppWindowFrameViewWin::GetMinimumSize() { |
+gfx::Size GlassAppWindowFrameViewWin::GetMinimumSize() const { |
gfx::Size min_size = widget_->client_view()->GetMinimumSize(); |
gfx::Rect client_bounds = GetBoundsForClientView(); |
min_size.Enlarge(0, client_bounds.y()); |