Index: ash/desktop_background/desktop_background_view.cc |
diff --git a/ash/desktop_background/desktop_background_view.cc b/ash/desktop_background/desktop_background_view.cc |
index fcbd935639c5114f0ca42976826fc600b914106d..a06b55e124ad615de7aa5cdce827275d1034066d 100644 |
--- a/ash/desktop_background/desktop_background_view.cc |
+++ b/ash/desktop_background/desktop_background_view.cc |
@@ -51,7 +51,8 @@ class ShowWallpaperAnimationObserver : public ui::ImplicitAnimationObserver { |
// animation. |
if (root_window_->GetProperty(kComponentWrapper)) { |
internal::DesktopBackgroundWidgetController* component = |
- root_window_->GetProperty(kComponentWrapper)->component(); |
+ root_window_->GetProperty(kComponentWrapper)->GetComponent(true); |
+ LOG(ERROR) << "===taken ownership==="; |
sky
2012/08/15 20:45:42
remove this.
bshe
2012/08/15 20:49:39
Aha. Sorry, I missed it.
|
root_window_->SetProperty(kWindowDesktopComponent, component); |
} |