Index: Source/core/animation/AnimationTimelineTest.cpp |
diff --git a/Source/core/animation/AnimationTimelineTest.cpp b/Source/core/animation/AnimationTimelineTest.cpp |
index 7efd8db66c71407503ffe1e858bb5aa12a7e21b1..3507722685fbffa2cec4078b11b9129a63d2afaf 100644 |
--- a/Source/core/animation/AnimationTimelineTest.cpp |
+++ b/Source/core/animation/AnimationTimelineTest.cpp |
@@ -98,9 +98,9 @@ protected: |
virtual void TearDown() |
{ |
- timeline.release(); |
document.release(); |
element.release(); |
+ timeline.release(); |
} |
void updateClockAndService(double time) |
@@ -110,7 +110,7 @@ protected: |
} |
RefPtr<Document> document; |
- RefPtr<Element> element; |
+ RefPtrWillBePersistent<Element> element; |
RefPtrWillBePersistent<AnimationTimeline> timeline; |
Timing timing; |
MockPlatformTiming* platformTiming; |