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

Unified Diff: third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp

Issue 2309873003: Extend PropertyHandle to include custom property identifiers (Closed)
Patch Set: Add unit tests Created 4 years, 3 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: third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp
index b3e1f7ef53fc575cff833f4568f2d0b22395fc6b..0a5a6afda144ba7fd299cf015b869d7a8f3678a4 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp
@@ -90,8 +90,8 @@ TEST_F(AnimationKeyframeEffectV8Test, CanCreateAnAnimation)
EXPECT_EQ(0, keyframes[0]->offset());
EXPECT_EQ(1, keyframes[1]->offset());
- const CSSValue& keyframe1Width = toStringKeyframe(keyframes[0].get())->cssPropertyValue(CSSPropertyWidth);
- const CSSValue& keyframe2Width = toStringKeyframe(keyframes[1].get())->cssPropertyValue(CSSPropertyWidth);
+ const CSSValue& keyframe1Width = toStringKeyframe(keyframes[0].get())->cssPropertyValue(PropertyHandle(CSSPropertyWidth));
+ const CSSValue& keyframe2Width = toStringKeyframe(keyframes[1].get())->cssPropertyValue(PropertyHandle(CSSPropertyWidth));
EXPECT_EQ("100px", keyframe1Width.cssText());
EXPECT_EQ("0px", keyframe2Width.cssText());

Powered by Google App Engine
This is Rietveld 408576698