Index: chrome/test/base/view_event_test_base.h |
diff --git a/chrome/test/base/view_event_test_base.h b/chrome/test/base/view_event_test_base.h |
index 302409d2c6e14674ea6c1cfc3d038b17ab05bb7e..424ef0f2a32063305410cd6e9032453474972b0b 100644 |
--- a/chrome/test/base/view_event_test_base.h |
+++ b/chrome/test/base/view_event_test_base.h |
@@ -118,7 +118,7 @@ class ViewEventTestBase : public views::WidgetDelegate, |
// Returns an empty Size. Subclasses that want a preferred size other than |
// that of the View returned by CreateContentsView should override this |
// appropriately. |
- virtual gfx::Size GetPreferredSize(); |
+ virtual gfx::Size GetPreferredSize() const; |
// Creates a task that calls the specified method back. The specified |
// method is called in such a way that if there are any test failures |