Index: chrome/browser/ui/views/location_bar/location_bar_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
index edefc90423f50ce21b0d45a0c3623be41c3f5ad2..4ecf75e8cb58d037bac15faa457c1973e624ad67 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -700,7 +700,7 @@ void LocationBarView::GetAccessibleState(ui::AXViewState* state) { |
} |
} |
-gfx::Size LocationBarView::GetPreferredSize() { |
+gfx::Size LocationBarView::GetPreferredSize() const { |
// Compute minimum height. |
gfx::Size min_size(border_painter_->GetMinimumSize()); |
if (!IsInitialized()) |