Index: chrome/browser/ui/views/panels/panel_frame_view.cc |
diff --git a/chrome/browser/ui/views/panels/panel_frame_view.cc b/chrome/browser/ui/views/panels/panel_frame_view.cc |
index a22164971ab1d3e065afddff1912ad4a284814a1..4b88b2b63b37cc4fc1b804b831bd011e6a835bae 100644 |
--- a/chrome/browser/ui/views/panels/panel_frame_view.cc |
+++ b/chrome/browser/ui/views/panels/panel_frame_view.cc |
@@ -489,7 +489,7 @@ void PanelFrameView::UpdateWindowTitle() { |
title_label_->SetText(panel_view_->panel()->GetWindowTitle()); |
} |
-gfx::Size PanelFrameView::GetPreferredSize() { |
+gfx::Size PanelFrameView::GetPreferredSize() const { |
gfx::Size pref_size = |
panel_view_->window()->client_view()->GetPreferredSize(); |
gfx::Rect bounds(0, 0, pref_size.width(), pref_size.height()); |
@@ -501,7 +501,7 @@ const char* PanelFrameView::GetClassName() const { |
return kViewClassName; |
} |
-gfx::Size PanelFrameView::GetMinimumSize() { |
+gfx::Size PanelFrameView::GetMinimumSize() const { |
return panel_view_->GetMinimumSize(); |
} |