| Index: Source/core/animation/AnimationTest.cpp
|
| diff --git a/Source/core/animation/AnimationTest.cpp b/Source/core/animation/AnimationTest.cpp
|
| index c4a3e7607ff1bbc51c3608ee51936c756c2e49b4..09c6034fae2531411c0a33787cf807962beb94ac 100644
|
| --- a/Source/core/animation/AnimationTest.cpp
|
| +++ b/Source/core/animation/AnimationTest.cpp
|
| @@ -6,6 +6,7 @@
|
| #include "core/animation/Animation.h"
|
|
|
| #include "bindings/core/v8/Dictionary.h"
|
| +#include "bindings/core/v8/DictionaryHelper.h"
|
| #include "core/animation/AnimationClock.h"
|
| #include "core/animation/AnimationHelpers.h"
|
| #include "core/animation/AnimationNodeTiming.h"
|
| @@ -75,11 +76,11 @@ TEST_F(AnimationAnimationV8Test, CanCreateAnAnimation)
|
| jsKeyframes.append(Dictionary(keyframe2, m_isolate));
|
|
|
| String value1;
|
| - ASSERT_TRUE(jsKeyframes[0].get("width", value1));
|
| + ASSERT_TRUE(DictionaryHelper::get(jsKeyframes[0], "width", value1));
|
| ASSERT_EQ("100px", value1);
|
|
|
| String value2;
|
| - ASSERT_TRUE(jsKeyframes[1].get("width", value2));
|
| + ASSERT_TRUE(DictionaryHelper::get(jsKeyframes[1], "width", value2));
|
| ASSERT_EQ("0px", value2);
|
|
|
| RefPtrWillBeRawPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, 0, exceptionState);
|
|
|