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

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

Issue 287343003: Oilpan: fix failing animation unit tests. (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 | « Source/core/animation/AnimationStackTest.cpp ('k') | 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 a9624b1b948cc3070bae2fada31fcc72633b9f70..68fdf6fbac8a769cf1d3fd60afb1ce3fff9ed824 100644
--- a/Source/core/animation/AnimationTest.cpp
+++ b/Source/core/animation/AnimationTest.cpp
@@ -459,8 +459,9 @@ TEST_F(AnimationAnimationTest, ElementDestructorClearsAnimationTarget)
document->timeline().play(animation.get());
document.clear();
element.clear();
- Heap::collectAllGarbage();
+#if !ENABLE(OILPAN)
EXPECT_EQ(0, animation->target());
+#endif
}
} // namespace WebCore
« no previous file with comments | « Source/core/animation/AnimationStackTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698