Index: ui/aura/window.cc |
diff --git a/ui/aura/window.cc b/ui/aura/window.cc |
index 8ec0e4ba7cb312d4be14e2f41e934242059e69de..4645659b3ad56ea891387eff4e9190837c33cefe 100644 |
--- a/ui/aura/window.cc |
+++ b/ui/aura/window.cc |
@@ -285,6 +285,8 @@ ui::Layer* Window::RecreateLayer() { |
if (!old_layer) |
return NULL; |
+ bounds_.SetRect(0, 0, 0, 0); |
+ |
old_layer->set_delegate(NULL); |
layer_ = new ui::Layer(old_layer->type()); |