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

Unified Diff: third_party/WebKit/Source/platform/mhtml/MHTMLFuzzer.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/mhtml/MHTMLFuzzer.cpp
diff --git a/third_party/WebKit/Source/platform/mhtml/MHTMLFuzzer.cpp b/third_party/WebKit/Source/platform/mhtml/MHTMLFuzzer.cpp
index 8877d1a4190ac2bf1e49c32245e8173ed9a06384..fd5e7913c65b88d68af3fa0cb0acdbbbec832f5b 100644
--- a/third_party/WebKit/Source/platform/mhtml/MHTMLFuzzer.cpp
+++ b/third_party/WebKit/Source/platform/mhtml/MHTMLFuzzer.cpp
@@ -21,7 +21,7 @@
MHTMLParser mhtmlParser(SharedBuffer::create(data, size));
HeapVector<Member<ArchiveResource>> mhtmlArchives = mhtmlParser.parseArchive();
mhtmlArchives.clear();
- ThreadState::current()-> collectAllGarbage();
+ ThreadHeap::collectAllGarbage();
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698