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

Unified Diff: ui/compositor/layer.h

Issue 10919195: LayerAnimator must be prepared for its owning layer's deletion whenever it notifies observers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing the unit tests. Created 8 years, 3 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 | « no previous file | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index fa2c474a11c0f42c42163a7e8ebeee5d6f87cac0..c150fb3733c6680161acfc9ec77c31f982772608 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -375,7 +375,7 @@ class COMPOSITOR_EXPORT Layer
LayerDelegate* delegate_;
- scoped_ptr<LayerAnimator> animator_;
+ scoped_refptr<LayerAnimator> animator_;
// Ownership of the layer is held through one of the strongly typed layer
// pointers, depending on which sort of layer this is.
« no previous file with comments | « no previous file | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698