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

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

Issue 1120003002: [Oilpan] Migrate most classes under core/animations to Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 4 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/AnimatableStrokeDasharrayListTest.cpp
diff --git a/Source/core/animation/animatable/AnimatableStrokeDasharrayListTest.cpp b/Source/core/animation/animatable/AnimatableStrokeDasharrayListTest.cpp
index 5725a1455e4a49cfffe7d93b7721b3336003430c..8d85a69b5c6ed4454216518c8df4a7cb84805ef4 100644
--- a/Source/core/animation/animatable/AnimatableStrokeDasharrayListTest.cpp
+++ b/Source/core/animation/animatable/AnimatableStrokeDasharrayListTest.cpp
@@ -48,17 +48,17 @@ TEST(AnimationAnimatableStrokeDasharrayListTest, EqualTo)
{
RefPtr<SVGDashArray> svgListA = createSVGDashArray(4);
RefPtr<SVGDashArray> svgListB = createSVGDashArray(4);
- RefPtrWillBeRawPtr<AnimatableStrokeDasharrayList> listA = AnimatableStrokeDasharrayList::create(svgListA, 1);
- RefPtrWillBeRawPtr<AnimatableStrokeDasharrayList> listB = AnimatableStrokeDasharrayList::create(svgListB, 1);
- EXPECT_TRUE(listA->equals(listB.get()));
+ AnimatableStrokeDasharrayList* listA = AnimatableStrokeDasharrayList::create(svgListA, 1);
+ AnimatableStrokeDasharrayList* listB = AnimatableStrokeDasharrayList::create(svgListB, 1);
+ EXPECT_TRUE(listA->equals(listB));
svgListB->at(3) = Length(50, Fixed);
listB = AnimatableStrokeDasharrayList::create(svgListB, 1);
- EXPECT_FALSE(listA->equals(listB.get()));
+ EXPECT_FALSE(listA->equals(listB));
svgListB = createSVGDashArray(5);
listB = AnimatableStrokeDasharrayList::create(svgListB, 1);
- EXPECT_FALSE(listA->equals(listB.get()));
+ EXPECT_FALSE(listA->equals(listB));
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698