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

Unified Diff: Source/core/animation/AnimationTest.cpp

Issue 293473003: Oilpan: fix build after r174194. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimationTest.cpp
diff --git a/Source/core/animation/AnimationTest.cpp b/Source/core/animation/AnimationTest.cpp
index 383cd11d3b81306a927b106ee168f52b2a0c6721..a9624b1b948cc3070bae2fada31fcc72633b9f70 100644
--- a/Source/core/animation/AnimationTest.cpp
+++ b/Source/core/animation/AnimationTest.cpp
@@ -145,7 +145,7 @@ TEST_F(AnimationAnimationV8Test, MismatchedKeyframePropertyRaisesException)
jsKeyframes.append(Dictionary(keyframe1, m_isolate));
jsKeyframes.append(Dictionary(keyframe2, m_isolate));
- RefPtrWillBeRawPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, 0, exceptionState);
+ createAnimation(element.get(), jsKeyframes, 0, exceptionState);
EXPECT_TRUE(exceptionState.hadException());
EXPECT_EQ(NotSupportedError, exceptionState.code());
@@ -165,7 +165,7 @@ TEST_F(AnimationAnimationV8Test, MissingOffsetZeroRaisesException)
jsKeyframes.append(Dictionary(keyframe1, m_isolate));
jsKeyframes.append(Dictionary(keyframe2, m_isolate));
- RefPtrWillBeRawPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, 0, exceptionState);
+ createAnimation(element.get(), jsKeyframes, 0, exceptionState);
EXPECT_TRUE(exceptionState.hadException());
EXPECT_EQ(NotSupportedError, exceptionState.code());
@@ -185,7 +185,7 @@ TEST_F(AnimationAnimationV8Test, MissingOffsetOneRaisesException)
jsKeyframes.append(Dictionary(keyframe1, m_isolate));
jsKeyframes.append(Dictionary(keyframe2, m_isolate));
- RefPtrWillBeRawPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, 0, exceptionState);
+ createAnimation(element.get(), jsKeyframes, 0, exceptionState);
EXPECT_TRUE(exceptionState.hadException());
EXPECT_EQ(NotSupportedError, exceptionState.code());
@@ -205,7 +205,7 @@ TEST_F(AnimationAnimationV8Test, MissingOffsetZeroAndOneRaisesException)
jsKeyframes.append(Dictionary(keyframe1, m_isolate));
jsKeyframes.append(Dictionary(keyframe2, m_isolate));
- RefPtrWillBeRawPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, 0, exceptionState);
+ createAnimation(element.get(), jsKeyframes, 0, exceptionState);
EXPECT_TRUE(exceptionState.hadException());
EXPECT_EQ(NotSupportedError, exceptionState.code());
@@ -456,7 +456,7 @@ TEST_F(AnimationAnimationTest, ElementDestructorClearsAnimationTarget)
timing.iterationDuration = 5;
RefPtrWillBeRawPtr<Animation> animation = Animation::create(element.get(), nullptr, timing);
EXPECT_EQ(element.get(), animation->target());
- RefPtrWillBeRawPtr<AnimationPlayer> player = document->timeline().play(animation.get());
+ document->timeline().play(animation.get());
document.clear();
element.clear();
Heap::collectAllGarbage();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698