Index: ui/views/window/native_frame_view.cc |
diff --git a/ui/views/window/native_frame_view.cc b/ui/views/window/native_frame_view.cc |
index cabc7c04000b4cbd46e5dea8c3aab61c72510839..44cc42f0bb2e4404fde4d36ea569f9d41cfbcb06 100644 |
--- a/ui/views/window/native_frame_view.cc |
+++ b/ui/views/window/native_frame_view.cc |
@@ -70,7 +70,7 @@ void NativeFrameView::UpdateWindowTitle() { |
// Nothing to do. |
} |
-gfx::Size NativeFrameView::GetPreferredSize() { |
+gfx::Size NativeFrameView::GetPreferredSize() const { |
gfx::Size client_preferred_size = frame_->client_view()->GetPreferredSize(); |
#if defined(OS_WIN) |
// Returns the client size. On Windows, this is the expected behavior for |
@@ -84,7 +84,7 @@ gfx::Size NativeFrameView::GetPreferredSize() { |
#endif |
} |
-gfx::Size NativeFrameView::GetMinimumSize() { |
+gfx::Size NativeFrameView::GetMinimumSize() const { |
return frame_->client_view()->GetMinimumSize(); |
} |