Index: ui/compositor/layer_animator.h |
diff --git a/ui/compositor/layer_animator.h b/ui/compositor/layer_animator.h |
index 65ec27a4a2ef7006df068ec48d125539ccf87287..ba15f25320b9b9095b9704a6efd35fd226dce044 100644 |
--- a/ui/compositor/layer_animator.h |
+++ b/ui/compositor/layer_animator.h |
@@ -306,6 +306,10 @@ class COMPOSITOR_EXPORT LayerAnimator : public AnimationContainerElement { |
// aborted. |
ObserverList<LayerAnimationObserver> observers_; |
+ // Set to true in the destructor (if non-NULL). Used to detect deletion while |
+ // calling out. |
+ bool* destroyed_; |
+ |
DISALLOW_COPY_AND_ASSIGN(LayerAnimator); |
}; |