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

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

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month 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/AnimatableValueTestHelperTest.cpp
diff --git a/Source/core/animation/animatable/AnimatableValueTestHelperTest.cpp b/Source/core/animation/animatable/AnimatableValueTestHelperTest.cpp
index 54348c8f4507e782106f59032c09708b0111f7e2..883545a97a6042c59caf763d830c2a411cda27aa 100644
--- a/Source/core/animation/animatable/AnimatableValueTestHelperTest.cpp
+++ b/Source/core/animation/animatable/AnimatableValueTestHelperTest.cpp
@@ -71,8 +71,8 @@ TEST_F(AnimationAnimatableValueTestHelperTest, PrintTo)
PrintToString(const_cast<AnimatableValue*>(AnimatableValue::neutralValue())),
testing::StartsWith("AnimatableNeutral@"));
- RefPtr<SVGLength> length1cm = SVGLength::create(LengthModeOther);
- RefPtr<SVGLength> length2cm = SVGLength::create(LengthModeOther);
+ RefPtrWillBeRawPtr<SVGLength> length1cm = SVGLength::create(LengthModeOther);
+ RefPtrWillBeRawPtr<SVGLength> length2cm = SVGLength::create(LengthModeOther);
length1cm->setValueAsString("1cm", ASSERT_NO_EXCEPTION);
length2cm->setValueAsString("2cm", ASSERT_NO_EXCEPTION);
@@ -84,7 +84,7 @@ TEST_F(AnimationAnimatableValueTestHelperTest, PrintTo)
PrintToString(AnimatableShapeValue::create(ShapeValue::createShapeValue(BasicShapeCircle::create().get(), ContentBox).get())),
testing::StartsWith("AnimatableShapeValue@"));
- RefPtr<SVGLengthList> l2 = SVGLengthList::create();
+ RefPtrWillBeRawPtr<SVGLengthList> l2 = SVGLengthList::create();
l2->append(length1cm);
l2->append(length2cm);
EXPECT_EQ(
« no previous file with comments | « Source/core/animation/animatable/AnimatableValueTestHelper.cpp ('k') | Source/core/css/SVGCSSComputedStyleDeclaration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698