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

Unified Diff: cc/animation/element_animations.h

Issue 1609923002: Fix remaining incompatibilities between scoped_ptr and unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: cc/animation/element_animations.h
diff --git a/cc/animation/element_animations.h b/cc/animation/element_animations.h
index 7a9cd93c83197809e9a71a7149922481d60b9d41..90090cfebfdb36f7acfe80e790436248e6b7e3d3 100644
--- a/cc/animation/element_animations.h
+++ b/cc/animation/element_animations.h
@@ -58,10 +58,10 @@ class CC_EXPORT ElementAnimations : public AnimationDelegate,
void LayerUnregistered(int layer_id, LayerTreeType tree_type);
bool has_active_value_observer_for_testing() const {
- return active_value_observer_;
+ return !!active_value_observer_;
}
bool has_pending_value_observer_for_testing() const {
- return pending_value_observer_;
+ return !!pending_value_observer_;
}
void AddPlayer(AnimationPlayer* player);

Powered by Google App Engine
This is Rietveld 408576698