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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLParserThread.cpp

Issue 1477023003: Refactor the Heap into ThreadHeap to prepare for per thread heaps Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/HTMLParserThread.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLParserThread.cpp b/third_party/WebKit/Source/core/html/parser/HTMLParserThread.cpp
index c34d221e3f09cec38b94089d3ffe52920afb6ef3..cac665909c9bee33f80dfc11046410a2ccef842c 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLParserThread.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLParserThread.cpp
@@ -84,7 +84,7 @@ HTMLParserThread* HTMLParserThread::shared()
WebThread& HTMLParserThread::platformThread()
{
if (!isRunning()) {
- m_thread = WebThreadSupportingGC::create("HTMLParserThread");
+ m_thread = WebThreadSupportingGC::create("HTMLParserThread", ThreadState::PerThreadHeapDisabled);
postTask(threadSafeBind(&HTMLParserThread::setupHTMLParserThread, AllowCrossThreadAccess(this)));
}
return m_thread->platformThread();

Powered by Google App Engine
This is Rietveld 408576698