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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerThread.h

Issue 1100413004: workers: Move ownership of WebThread from WorkerThread (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: reference Created 5 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
Index: Source/modules/serviceworkers/ServiceWorkerThread.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerThread.h b/Source/modules/serviceworkers/ServiceWorkerThread.h
index 2d750bb846d38f2f2714b7ff26e5b1eb46b02b06..4a30289d912652c8bc83659755bcdfdff29ba15c 100644
--- a/Source/modules/serviceworkers/ServiceWorkerThread.h
+++ b/Source/modules/serviceworkers/ServiceWorkerThread.h
@@ -44,10 +44,13 @@ public:
virtual ~ServiceWorkerThread();
protected:
- virtual PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData>) override;
+ PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData>) override;
+ WebThreadSupportingGC& backingThread() override;
private:
ServiceWorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&, PassOwnPtr<WorkerThreadStartupData>);
+
+ OwnPtr<WebThreadSupportingGC> m_thread;
};
} // namespace blink
« no previous file with comments | « Source/modules/compositorworker/CompositorWorkerThread.cpp ('k') | Source/modules/serviceworkers/ServiceWorkerThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698