| Index: Source/core/css/resolver/StyleResolverState.cpp
|
| diff --git a/Source/core/css/resolver/StyleResolverState.cpp b/Source/core/css/resolver/StyleResolverState.cpp
|
| index d883d7cf5ad09cfa353b0324eff7b2f3fb371b5b..cd028b86e348af6086f21baf9363ce10adbeee9b 100644
|
| --- a/Source/core/css/resolver/StyleResolverState.cpp
|
| +++ b/Source/core/css/resolver/StyleResolverState.cpp
|
| @@ -25,6 +25,7 @@
|
| #include "core/animation/css/CSSAnimations.h"
|
| #include "core/dom/Node.h"
|
| #include "core/dom/NodeComputedStyle.h"
|
| +#include "core/dom/StyleEngine.h"
|
| #include "core/frame/FrameHost.h"
|
|
|
| namespace blink {
|
| @@ -63,6 +64,11 @@ void StyleResolverState::setAnimationUpdate(PassOwnPtrWillBeRawPtr<CSSAnimationU
|
| m_animationUpdate = update;
|
| }
|
|
|
| +bool StyleResolverState::documentUsesCSSVariables() const
|
| +{
|
| + return m_document->styleEngine().usesVariables();
|
| +}
|
| +
|
| PassOwnPtrWillBeRawPtr<CSSAnimationUpdate> StyleResolverState::takeAnimationUpdate()
|
| {
|
| return m_animationUpdate.release();
|
|
|