Index: apps/ui/views/app_window_frame_view.cc |
diff --git a/apps/ui/views/app_window_frame_view.cc b/apps/ui/views/app_window_frame_view.cc |
index 44ed714d7e4c6b6050bbc6350abbd7cd5a3bba17..6718bb4c6a788efed825fc74920eb5e3f5ae9092 100644 |
--- a/apps/ui/views/app_window_frame_view.cc |
+++ b/apps/ui/views/app_window_frame_view.cc |
@@ -229,7 +229,7 @@ void AppWindowFrameView::GetWindowMask(const gfx::Size& size, |
// We got nothing to say about no window mask. |
} |
-gfx::Size AppWindowFrameView::GetPreferredSize() { |
+gfx::Size AppWindowFrameView::GetPreferredSize() const { |
gfx::Size pref = widget_->client_view()->GetPreferredSize(); |
gfx::Rect bounds(0, 0, pref.width(), pref.height()); |
return widget_->non_client_view() |
@@ -316,7 +316,7 @@ void AppWindowFrameView::OnPaint(gfx::Canvas* canvas) { |
const char* AppWindowFrameView::GetClassName() const { return kViewClassName; } |
-gfx::Size AppWindowFrameView::GetMinimumSize() { |
+gfx::Size AppWindowFrameView::GetMinimumSize() const { |
gfx::Size min_size = widget_->client_view()->GetMinimumSize(); |
if (!draw_frame_) |
return min_size; |