Chromium Code Reviews

Unified Diff: ash/wm/workspace/multi_window_resize_controller.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.
Jump to:
View side-by-side diff with in-line comments
Index: ash/wm/workspace/multi_window_resize_controller.cc
diff --git a/ash/wm/workspace/multi_window_resize_controller.cc b/ash/wm/workspace/multi_window_resize_controller.cc
index f8788b4f6c64747ade2e567d506f6bf85d041ed1..d03cfa168f2a070b63b77cdf069876f146980657 100644
--- a/ash/wm/workspace/multi_window_resize_controller.cc
+++ b/ash/wm/workspace/multi_window_resize_controller.cc
@@ -71,7 +71,7 @@ class MultiWindowResizeController::ResizeView : public views::View {
}
// views::View overrides:
- virtual gfx::Size GetPreferredSize() OVERRIDE {
+ virtual gfx::Size GetPreferredSize() const OVERRIDE {
return gfx::Size(image_->width(), image_->height());
}
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE {

Powered by Google App Engine