Index: ui/views/controls/scrollbar/native_scroll_bar.cc |
diff --git a/ui/views/controls/scrollbar/native_scroll_bar.cc b/ui/views/controls/scrollbar/native_scroll_bar.cc |
index 9bb2e5fc3d2204e03ee4f066a3c5c22335b6a53d..7b45dd6e05247429945ec235ebc1b05aefa18c4e 100644 |
--- a/ui/views/controls/scrollbar/native_scroll_bar.cc |
+++ b/ui/views/controls/scrollbar/native_scroll_bar.cc |
@@ -42,7 +42,7 @@ int NativeScrollBar::GetVerticalScrollBarWidth( |
//////////////////////////////////////////////////////////////////////////////// |
// NativeScrollBar, View overrides: |
-gfx::Size NativeScrollBar::GetPreferredSize() { |
+gfx::Size NativeScrollBar::GetPreferredSize() const { |
if (native_wrapper_) |
return native_wrapper_->GetView()->GetPreferredSize(); |
return gfx::Size(); |