| Index: ui/views/layout/layout_manager.cc
|
| diff --git a/ui/views/layout/layout_manager.cc b/ui/views/layout/layout_manager.cc
|
| index 188cc6f14fc8e1f5cb3c696f26796b2796614085..9a79ce75832b5bcbe771e7f6b40a5063abda2acd 100644
|
| --- a/ui/views/layout/layout_manager.cc
|
| +++ b/ui/views/layout/layout_manager.cc
|
| @@ -17,7 +17,8 @@ void LayoutManager::Installed(View* host) {
|
| void LayoutManager::Uninstalled(View* host) {
|
| }
|
|
|
| -int LayoutManager::GetPreferredHeightForWidth(View* host, int width) {
|
| +int LayoutManager::GetPreferredHeightForWidth(const View* host,
|
| + int width) const {
|
| return GetPreferredSize(host).height();
|
| }
|
|
|
|
|