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

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

Issue 2625293002: Remove ThreadHeapMode (Closed)
Patch Set: Created 3 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/platform/WebThreadSupportingGC.h
diff --git a/third_party/WebKit/Source/platform/WebThreadSupportingGC.h b/third_party/WebKit/Source/platform/WebThreadSupportingGC.h
index fe2f9c779f1a6dd7801f9f4cc7754b5b11ecfa5c..c39ce3d7e4066b058d420db158bd17545e795de5 100644
--- a/third_party/WebKit/Source/platform/WebThreadSupportingGC.h
+++ b/third_party/WebKit/Source/platform/WebThreadSupportingGC.h
@@ -29,11 +29,8 @@ class PLATFORM_EXPORT WebThreadSupportingGC final {
WTF_MAKE_NONCOPYABLE(WebThreadSupportingGC);
public:
- static std::unique_ptr<WebThreadSupportingGC> create(const char* name,
- BlinkGC::ThreadHeapMode);
- static std::unique_ptr<WebThreadSupportingGC> createForThread(
- WebThread*,
- BlinkGC::ThreadHeapMode);
+ static std::unique_ptr<WebThreadSupportingGC> create(const char* name);
+ static std::unique_ptr<WebThreadSupportingGC> createForThread(WebThread*);
~WebThreadSupportingGC();
void postTask(const WebTraceLocation& location,
@@ -79,7 +76,7 @@ class PLATFORM_EXPORT WebThreadSupportingGC final {
}
private:
- WebThreadSupportingGC(const char* name, WebThread*, BlinkGC::ThreadHeapMode);
+ WebThreadSupportingGC(const char* name, WebThread*);
std::unique_ptr<GCTaskRunner> m_gcTaskRunner;
@@ -88,7 +85,6 @@ class PLATFORM_EXPORT WebThreadSupportingGC final {
// existing thread via createForThread().
WebThread* m_thread = nullptr;
std::unique_ptr<WebThread> m_owningThread;
- const BlinkGC::ThreadHeapMode m_threadHeapMode;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698