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

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

Issue 2307003002: Move collectGarbage* methods to ThreadState (Closed)
Patch Set: fix Created 4 years, 3 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: third_party/WebKit/Source/core/animation/AnimationTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/AnimationTest.cpp b/third_party/WebKit/Source/core/animation/AnimationTest.cpp
index 7646b684650fe2d5cbd006a4e17b6a33c3b8e5c4..1e7b7a112a5dd539f808c9d2a2fd40e218835e29 100644
--- a/third_party/WebKit/Source/core/animation/AnimationTest.cpp
+++ b/third_party/WebKit/Source/core/animation/AnimationTest.cpp
@@ -743,7 +743,7 @@ TEST_F(AnimationAnimationTest, AttachedAnimations)
timeline->serviceAnimations(TimingUpdateForAnimationFrame);
EXPECT_EQ(1U, element->elementAnimations()->animations().find(animation)->value);
- ThreadHeap::collectAllGarbage();
+ ThreadState::current()-> collectAllGarbage();
EXPECT_TRUE(element->elementAnimations()->animations().isEmpty());
}

Powered by Google App Engine
This is Rietveld 408576698