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

Unified Diff: Source/core/animation/animatable/AnimatableUnknownTest.cpp

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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/animatable/AnimatableUnknownTest.cpp
diff --git a/Source/core/animation/animatable/AnimatableUnknownTest.cpp b/Source/core/animation/animatable/AnimatableUnknownTest.cpp
index 4ed811d930d3461d3df62dc0239045b0dd6bb3f4..9cf25f427b00584efb251e67fb97f7437f631bad 100644
--- a/Source/core/animation/animatable/AnimatableUnknownTest.cpp
+++ b/Source/core/animation/animatable/AnimatableUnknownTest.cpp
@@ -41,6 +41,10 @@ using namespace blink;
namespace {
class AnimationAnimatableUnknownTest : public ::testing::Test {
+public:
+ AnimationAnimatableUnknownTest()
+ : cssValue(cssValuePool().createIdentifierValue(CSSValueYellow)),
+ otherCSSValue(cssValuePool().createIdentifierValue(CSSValueOrange)) { };
protected:
virtual void SetUp()
{
@@ -51,9 +55,9 @@ protected:
otherAnimatableUnknown = AnimatableUnknown::create(otherCSSValue);
}
- RefPtrWillBePersistent<CSSValue> cssValue;
+ CSSValue cssValue;
RefPtrWillBePersistent<AnimatableValue> animatableUnknown;
- RefPtrWillBePersistent<CSSValue> otherCSSValue;
+ CSSValue otherCSSValue;
RefPtrWillBePersistent<AnimatableValue> otherAnimatableUnknown;
};

Powered by Google App Engine
This is Rietveld 408576698