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

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

Issue 2355193002: Use enum for per thread heap enabled flag (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/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 608eb1393db1c757a6e93c979c359658552494e9..366ad3ad0aca631b4855cb6bfb5b6620c05ffa45 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLParserThread.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLParserThread.cpp
@@ -89,7 +89,7 @@ void HTMLParserThread::postTask(std::unique_ptr<CrossThreadClosure> closure)
{
ASSERT(isMainThread());
if (!m_thread) {
- m_thread = WebThreadSupportingGC::create("HTMLParserThread");
+ m_thread = WebThreadSupportingGC::create("HTMLParserThread", MainThreadHeapMode);
postTask(crossThreadBind(&HTMLParserThread::setupHTMLParserThread, crossThreadUnretained(this)));
}

Powered by Google App Engine
This is Rietveld 408576698