Index: ui/views/controls/progress_bar.cc |
diff --git a/ui/views/controls/progress_bar.cc b/ui/views/controls/progress_bar.cc |
index 2049f6e4ebcb5a54f44b1905f5056f18669740e0..7476bca6aeab3146e89f5c5b572097e13a792702 100644 |
--- a/ui/views/controls/progress_bar.cc |
+++ b/ui/views/controls/progress_bar.cc |
@@ -183,7 +183,7 @@ void ProgressBar::GetAccessibleState(ui::AXViewState* state) { |
state->AddStateFlag(ui::AX_STATE_READ_ONLY); |
} |
-gfx::Size ProgressBar::GetPreferredSize() { |
+gfx::Size ProgressBar::GetPreferredSize() const { |
gfx::Size pref_size(100, 11); |
gfx::Insets insets = GetInsets(); |
pref_size.Enlarge(insets.width(), insets.height()); |