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; |
haraken
2015/06/11 02:48:53
This looks wrong. What you're doing here is:
clas
haraken
2015/06/11 02:48:53
oilpan-reviews@: The GC plugin must detect this er
sashab
2015/06/11 23:05:34
In this case I could just remove the test fixture
sof
2015/06/12 05:10:04
This is an anonymous namespace, where the GC plugi
sof
2015/06/12 10:48:08
That quirk has now been removed, http://crbug.com/
|
RefPtrWillBePersistent<AnimatableValue> otherAnimatableUnknown; |
}; |