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

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: (Hopefully) Builds with oilpan now Created 5 years, 6 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;
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;
};

Powered by Google App Engine
This is Rietveld 408576698