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

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

Issue 373423002: Split Dictionary's get and convert into DictionaryHelper. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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: Source/core/animation/AnimationTest.cpp
diff --git a/Source/core/animation/AnimationTest.cpp b/Source/core/animation/AnimationTest.cpp
index c4a3e7607ff1bbc51c3608ee51936c756c2e49b4..920967dce856a46034375da269fe9c56f4e702d7 100644
--- a/Source/core/animation/AnimationTest.cpp
+++ b/Source/core/animation/AnimationTest.cpp
@@ -75,11 +75,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);
« no previous file with comments | « Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp ('k') | Source/core/animation/EffectInput.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698