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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeAuraTest.cpp

Issue 2321223003: Revert of Move collectGarbage* methods to ThreadState (Closed)
Patch Set: 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/platform/scroll/ScrollbarThemeAuraTest.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAuraTest.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAuraTest.cpp
index f58c842aa655183f68796824d4a8551eb2db70ff..a80b75a2f8851022c220dc9d26ddd1df27b9bd0b 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAuraTest.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAuraTest.cpp
@@ -58,7 +58,7 @@
EXPECT_EQ(222, size2.width());
EXPECT_EQ(666, size2.height());
- ThreadState::current()-> collectAllGarbage();
+ ThreadHeap::collectAllGarbage();
}
TEST_F(ScrollbarThemeAuraTest, ButtonSizeVertical)
@@ -81,7 +81,7 @@
EXPECT_EQ(444, size2.width());
EXPECT_EQ(333, size2.height());
- ThreadState::current()-> collectAllGarbage();
+ ThreadHeap::collectAllGarbage();
}
TEST_F(ScrollbarThemeAuraTest, NoButtonsReturnsSize0)
@@ -98,7 +98,7 @@
EXPECT_EQ(0, size.width());
EXPECT_EQ(0, size.height());
- ThreadState::current()-> collectAllGarbage();
+ ThreadHeap::collectAllGarbage();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698