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

Unified Diff: Source/core/animation/Animation.h

Issue 15405006: Modify AnimationEffect::sample() to return a CompositableValue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix rebase 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
« no previous file with comments | « Source/core/animation/AnimatableValue.cpp ('k') | Source/core/animation/Animation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/Animation.h
diff --git a/Source/core/animation/Animation.h b/Source/core/animation/Animation.h
index 529f5f22b5fcb3090d1d84536484c31694d2edf6..40b14b9a03695307364e383773da11dc57d10572 100644
--- a/Source/core/animation/Animation.h
+++ b/Source/core/animation/Animation.h
@@ -33,7 +33,6 @@
#include "core/animation/AnimationEffect.h"
#include "core/animation/TimedItem.h"
-#include "core/css/StylePropertySet.h"
#include "wtf/RefPtr.h"
namespace WebCore {
@@ -46,10 +45,10 @@ public:
static PassRefPtr<Animation> create(PassRefPtr<Element> target, PassRefPtr<AnimationEffect>, Timing&);
virtual ~Animation();
- StylePropertySet* cachedStyle()
+ const AnimationEffect::CompositableValueMap* compositableValues() const
{
- ASSERT(m_cachedStyle.get());
- return m_cachedStyle.get();
+ ASSERT(m_compositableValues);
+ return m_compositableValues.get();
}
protected:
@@ -63,7 +62,7 @@ private:
RefPtr<Element> m_target;
RefPtr<AnimationEffect> m_effect;
bool m_isInTargetActiveAnimationsList;
- RefPtr<StylePropertySet> m_cachedStyle;
+ OwnPtr<AnimationEffect::CompositableValueMap> m_compositableValues;
};
} // namespace
« no previous file with comments | « Source/core/animation/AnimatableValue.cpp ('k') | Source/core/animation/Animation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698