Commit 3e7fe352 authored by keishi's avatar keishi Committed by Commit bot

Enable per thread heap on parser thread

BUG= 591606

Review-Url: https://codereview.chromium.org/2540143002
Cr-Commit-Position: refs/heads/master@{#435578}
parent 3d083693
...@@ -84,7 +84,7 @@ void HTMLParserThread::postTask(std::unique_ptr<CrossThreadClosure> closure) { ...@@ -84,7 +84,7 @@ void HTMLParserThread::postTask(std::unique_ptr<CrossThreadClosure> closure) {
ASSERT(isMainThread()); ASSERT(isMainThread());
if (!m_thread) { if (!m_thread) {
m_thread = WebThreadSupportingGC::create("HTMLParserThread", m_thread = WebThreadSupportingGC::create("HTMLParserThread",
BlinkGC::MainThreadHeapMode); BlinkGC::PerThreadHeapMode);
postTask(crossThreadBind(&HTMLParserThread::setupHTMLParserThread, postTask(crossThreadBind(&HTMLParserThread::setupHTMLParserThread,
crossThreadUnretained(this))); crossThreadUnretained(this)));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment