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

Unified Diff: third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.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/core/html/parser/CSSPreloadScannerTest.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp b/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
index c6ec8744db8c2f5b8ded0cd0e4af0a8e2dac0a0d..14a28f843917666708bce7a56ded58c8f684abdb 100644
--- a/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
+++ b/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
@@ -73,7 +73,7 @@
new PreloadSuppressingCSSPreloaderResourceClient(resource, preloader);
// Destroys the resourceClient.
- ThreadState::current()-> collectAllGarbage();
+ ThreadHeap::collectAllGarbage();
const char* data = "@import url('http://127.0.0.1/preload.css');";
// Should not crash.

Powered by Google App Engine
This is Rietveld 408576698