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

Unified Diff: Source/core/animation/animatable/AnimatableStrokeDasharrayListTest.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/AnimatableStrokeDasharrayListTest.cpp
diff --git a/Source/core/animation/animatable/AnimatableStrokeDasharrayListTest.cpp b/Source/core/animation/animatable/AnimatableStrokeDasharrayListTest.cpp
index 1c014fa0847dd54871acc226bc1f689bb50ecdcf..327747defc701866ffeae4ad6cea03bca332765f 100644
--- a/Source/core/animation/animatable/AnimatableStrokeDasharrayListTest.cpp
+++ b/Source/core/animation/animatable/AnimatableStrokeDasharrayListTest.cpp
@@ -39,9 +39,9 @@ using namespace blink;
namespace {
-PassRefPtr<SVGLengthList> createSVGLengthList(size_t length)
+PassRefPtrWillBeRawPtr<SVGLengthList> createSVGLengthList(size_t length)
{
- RefPtr<SVGLengthList> list = SVGLengthList::create();
+ RefPtrWillBeRawPtr<SVGLengthList> list = SVGLengthList::create();
for (size_t i = 0; i < length; ++i)
list->append(SVGLength::create());
return list.release();
@@ -49,8 +49,8 @@ PassRefPtr<SVGLengthList> createSVGLengthList(size_t length)
TEST(AnimationAnimatableStrokeDasharrayListTest, EqualTo)
{
- RefPtr<SVGLengthList> svgListA = createSVGLengthList(4);
- RefPtr<SVGLengthList> svgListB = createSVGLengthList(4);
+ RefPtrWillBeRawPtr<SVGLengthList> svgListA = createSVGLengthList(4);
+ RefPtrWillBeRawPtr<SVGLengthList> svgListB = createSVGLengthList(4);
RefPtrWillBeRawPtr<AnimatableStrokeDasharrayList> listA = AnimatableStrokeDasharrayList::create(svgListA);
RefPtrWillBeRawPtr<AnimatableStrokeDasharrayList> listB = AnimatableStrokeDasharrayList::create(svgListB);
EXPECT_TRUE(listA->equals(listB.get()));

Powered by Google App Engine
This is Rietveld 408576698