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

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

Issue 191003010: Oilpan: move WorkerThreadStartupData to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 742baa7d89d66adc63c773409468a62a4bcb1d54..8efabdcf160d6084fb10e3ec4b2495ae581330e6 100644
--- a/Source/modules/serviceworkers/ServiceWorkerThread.h
+++ b/Source/modules/serviceworkers/ServiceWorkerThread.h
@@ -35,18 +35,18 @@
namespace WebCore {
-struct WorkerThreadStartupData;
+class WorkerThreadStartupData;
class ServiceWorkerThread FINAL : public WorkerThread {
public:
- static PassRefPtr<ServiceWorkerThread> create(WorkerLoaderProxy&, WorkerReportingProxy&, PassOwnPtr<WorkerThreadStartupData>);
+ static PassRefPtr<ServiceWorkerThread> create(WorkerLoaderProxy&, WorkerReportingProxy&, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData>);
virtual ~ServiceWorkerThread();
protected:
- virtual PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData>) OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtrWillBeRawPtr<WorkerThreadStartupData>) OVERRIDE;
private:
- ServiceWorkerThread(WorkerLoaderProxy&, WorkerReportingProxy&, PassOwnPtr<WorkerThreadStartupData>);
+ ServiceWorkerThread(WorkerLoaderProxy&, WorkerReportingProxy&, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData>);
};
} // namespace WebCore
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp ('k') | Source/modules/serviceworkers/ServiceWorkerThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698