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

Unified Diff: ui/compositor/layer_animation_sequence.h

Issue 134453004: Use a bitfield to store animatable properties. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build error Created 6 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: ui/compositor/layer_animation_sequence.h
diff --git a/ui/compositor/layer_animation_sequence.h b/ui/compositor/layer_animation_sequence.h
index 53ce8d6dd40030cf3631cf3bf7863e64557ccef4..19635adfc971b68f08c146abe481354524e9c952 100644
--- a/ui/compositor/layer_animation_sequence.h
+++ b/ui/compositor/layer_animation_sequence.h
@@ -81,7 +81,7 @@ class COMPOSITOR_EXPORT LayerAnimationSequence
void Abort(LayerAnimationDelegate* delegate);
// All properties modified by the sequence.
- const LayerAnimationElement::AnimatableProperties& properties() const {
+ LayerAnimationElement::AnimatableProperties properties() const {
return properties_;
}
@@ -96,7 +96,7 @@ class COMPOSITOR_EXPORT LayerAnimationSequence
// Returns true if this sequence has at least one element conflicting with a
// property in |other|.
bool HasConflictingProperty(
- const LayerAnimationElement::AnimatableProperties& other) const;
+ LayerAnimationElement::AnimatableProperties other) const;
// Returns true if the first element animates on the compositor thread.
bool IsFirstElementThreaded() const;

Powered by Google App Engine
This is Rietveld 408576698