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

Unified Diff: ui/compositor/layer_animator.h

Issue 16136005: Update remaining files to use WeakPtr<T>::get() instead of "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
Index: ui/compositor/layer_animator.h
diff --git a/ui/compositor/layer_animator.h b/ui/compositor/layer_animator.h
index d71a936fd64fbd47940d28aa9c582e8b9fe20a27..0d183b9d97d43b95156a30298facb3bddd5d5b99 100644
--- a/ui/compositor/layer_animator.h
+++ b/ui/compositor/layer_animator.h
@@ -209,7 +209,7 @@ class COMPOSITOR_EXPORT LayerAnimator
RunningAnimation(const base::WeakPtr<LayerAnimationSequence>& sequence);
~RunningAnimation();
- bool is_sequence_alive() const { return !!sequence_; }
+ bool is_sequence_alive() const { return !!sequence_.get(); }
LayerAnimationSequence* sequence() const { return sequence_.get(); }
private:

Powered by Google App Engine
This is Rietveld 408576698