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