Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1338)

Unified Diff: chrome/test/base/view_event_test_base.cc

Issue 273223002: views: Make view::Views::GetPreferredSize() const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More compile fix for ToT Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/base/view_event_test_base.h ('k') | components/infobars/core/infobar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/view_event_test_base.cc
diff --git a/chrome/test/base/view_event_test_base.cc b/chrome/test/base/view_event_test_base.cc
index 2d64c5d408c07be184b86a8d40b21c808205ad9a..39293ab0567c69fd3b1274581c910523c81a97c1 100644
--- a/chrome/test/base/view_event_test_base.cc
+++ b/chrome/test/base/view_event_test_base.cc
@@ -54,7 +54,7 @@ class TestView : public views::View {
PreferredSizeChanged();
}
- virtual gfx::Size GetPreferredSize() OVERRIDE {
+ virtual gfx::Size GetPreferredSize() const OVERRIDE {
if (!preferred_size_.IsEmpty())
return preferred_size_;
return View::GetPreferredSize();
@@ -228,7 +228,7 @@ void ViewEventTestBase::StartMessageLoopAndRunTest() {
content::RunMessageLoop();
}
-gfx::Size ViewEventTestBase::GetPreferredSize() {
+gfx::Size ViewEventTestBase::GetPreferredSize() const {
return gfx::Size();
}
« no previous file with comments | « chrome/test/base/view_event_test_base.h ('k') | components/infobars/core/infobar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698