Index: ui/views/controls/scroll_view_unittest.cc |
diff --git a/ui/views/controls/scroll_view_unittest.cc b/ui/views/controls/scroll_view_unittest.cc |
index 9baa4d37c4765bcd18f43921e976d66221bd175d..cac64be0991c7b9b24fcda1675da81b635bcd7ab 100644 |
--- a/ui/views/controls/scroll_view_unittest.cc |
+++ b/ui/views/controls/scroll_view_unittest.cc |
@@ -26,11 +26,9 @@ class CustomView : public View { |
PreferredSizeChanged(); |
} |
- virtual gfx::Size GetPreferredSize() const override { |
- return preferred_size_; |
- } |
+ gfx::Size GetPreferredSize() const override { return preferred_size_; } |
- virtual void Layout() override { |
+ void Layout() override { |
gfx::Size pref = GetPreferredSize(); |
int width = pref.width(); |
int height = pref.height(); |