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

Unified Diff: third_party/WebKit/Source/core/workers/SharedWorkerThread.h

Issue 1733353004: Introduce WorkerBackingThread (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
Index: third_party/WebKit/Source/core/workers/SharedWorkerThread.h
diff --git a/third_party/WebKit/Source/core/workers/SharedWorkerThread.h b/third_party/WebKit/Source/core/workers/SharedWorkerThread.h
index 8e2f07d75ce83702cfe3dd9653a5a963aca8f422..0945805249dcc3786a0b431258d0b392c9f291d7 100644
--- a/third_party/WebKit/Source/core/workers/SharedWorkerThread.h
+++ b/third_party/WebKit/Source/core/workers/SharedWorkerThread.h
@@ -43,15 +43,16 @@ public:
static PassOwnPtr<SharedWorkerThread> create(const String& name, PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
~SharedWorkerThread() override;
+ WorkerBackingThread& workerBackingThread() override { return *m_workerBackingThread; }
+
protected:
WorkerGlobalScope* createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData>) override;
- WebThreadSupportingGC& backingThread() override;
private:
SharedWorkerThread(const String& name, PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
+ OwnPtr<WorkerBackingThread> m_workerBackingThread;
String m_name;
- OwnPtr<WebThreadSupportingGC> m_thread;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698