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

Unified Diff: third_party/WebKit/Source/platform/WebThreadSupportingGC.h

Issue 1919793002: Revert of Add enablePerThreadHeap flag to ThreadState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/WebThreadSupportingGC.h
diff --git a/third_party/WebKit/Source/platform/WebThreadSupportingGC.h b/third_party/WebKit/Source/platform/WebThreadSupportingGC.h
index b64835bac67538a6995d560799297027e2824b24..32ea91a4ae037f8cfa9aceaf2c9839bf73a5d257 100644
--- a/third_party/WebKit/Source/platform/WebThreadSupportingGC.h
+++ b/third_party/WebKit/Source/platform/WebThreadSupportingGC.h
@@ -29,8 +29,8 @@
USING_FAST_MALLOC(WebThreadSupportingGC);
WTF_MAKE_NONCOPYABLE(WebThreadSupportingGC);
public:
- static PassOwnPtr<WebThreadSupportingGC> create(const char* name, bool perThreadHeapEnabled = false);
- static PassOwnPtr<WebThreadSupportingGC> createForThread(WebThread*, bool perThreadHeapEnabled = false);
+ static PassOwnPtr<WebThreadSupportingGC> create(const char* name);
+ static PassOwnPtr<WebThreadSupportingGC> createForThread(WebThread*);
~WebThreadSupportingGC();
void postTask(const WebTraceLocation& location, PassOwnPtr<SameThreadClosure> task)
@@ -78,7 +78,7 @@
}
private:
- WebThreadSupportingGC(const char* name, WebThread*, bool perThreadHeapEnabled);
+ WebThreadSupportingGC(const char* name, WebThread*);
OwnPtr<GCTaskRunner> m_gcTaskRunner;
@@ -87,7 +87,6 @@
// existing thread via createForThread().
WebThread* m_thread = nullptr;
OwnPtr<WebThread> m_owningThread;
- bool m_perThreadHeapEnabled;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698