Index: ui/aura/demo/demo_main.cc |
diff --git a/ui/aura/demo/demo_main.cc b/ui/aura/demo/demo_main.cc |
index 433032e2749b76a240b1c3ff35e52d0c977da3ff..f8337ecb00d63049d8670b81cfad292de9e00f08 100644 |
--- a/ui/aura/demo/demo_main.cc |
+++ b/ui/aura/demo/demo_main.cc |
@@ -31,7 +31,9 @@ class DemoWindowDelegate : public aura::WindowDelegate { |
explicit DemoWindowDelegate(SkColor color) : color_(color) {} |
// Overridden from WindowDelegate: |
- virtual void OnBoundsChanging(gfx::Rect* new_bounds) OVERRIDE {} |
+ virtual gfx::Size GetMinimumSize() const OVERRIDE { |
+ return gfx::Size(); |
+ } |
virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
const gfx::Rect& new_bounds) OVERRIDE {} |
virtual void OnFocus() OVERRIDE {} |