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

Unified Diff: Source/core/animation/EffectInput.cpp

Issue 999963003: Add base LayoutStyle parameter to createAnimatableValueSnapshot() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Missing include Created 5 years, 9 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 | « no previous file | Source/core/animation/InterpolationEffect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/EffectInput.cpp
diff --git a/Source/core/animation/EffectInput.cpp b/Source/core/animation/EffectInput.cpp
index 7dbbf7cfe5498cef29b00d8bc7f75ef7915609b1..09254e9f91ba8e22bb5eecc7d40b0aa43839c673 100644
--- a/Source/core/animation/EffectInput.cpp
+++ b/Source/core/animation/EffectInput.cpp
@@ -39,6 +39,7 @@
#include "core/css/resolver/StyleResolver.h"
#include "core/dom/Document.h"
#include "core/dom/Element.h"
+#include "core/dom/NodeLayoutStyle.h"
#include "wtf/NonCopyingSort.h"
namespace blink {
@@ -116,7 +117,7 @@ PassRefPtrWillBeRawPtr<AnimationEffect> EffectInput::convert(Element* element, c
exceptionState.throwDOMException(NotSupportedError, "Additive animations are not supported.");
return nullptr;
}
- keyframeEffectModel->forceConversionsToAnimatableValues(*element);
+ keyframeEffectModel->forceConversionsToAnimatableValues(*element, element->layoutStyle());
return keyframeEffectModel;
}
« no previous file with comments | « no previous file | Source/core/animation/InterpolationEffect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698