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

Unified Diff: Source/web/WebSharedWorkerImpl.h

Issue 177073004: Oilpan: move core/workers to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/web/WebSharedWorkerImpl.h
diff --git a/Source/web/WebSharedWorkerImpl.h b/Source/web/WebSharedWorkerImpl.h
index a13e5d7b2c0a40b78381fa64d1fefce0b6a4b929..55619cf025fdad77744218249c4821d85f4532d0 100644
--- a/Source/web/WebSharedWorkerImpl.h
+++ b/Source/web/WebSharedWorkerImpl.h
@@ -112,7 +112,7 @@ private:
WebSharedWorkerClient* client() { return m_client->get(); }
- void setWorkerThread(PassRefPtr<WebCore::WorkerThread> thread) { m_workerThread = thread; }
+ void setWorkerThread(PassRefPtrWillBeRawPtr<WebCore::WorkerThread> thread) { m_workerThread = thread; }
WebCore::WorkerThread* workerThread() { return m_workerThread.get(); }
// Shuts down the worker thread.
@@ -135,7 +135,7 @@ private:
WebFrame* m_mainFrame;
bool m_askedToTerminate;
- RefPtr<WebCore::WorkerThread> m_workerThread;
+ RefPtrWillBePersistent<WebCore::WorkerThread> m_workerThread;
// This one's initialized and bound to the main thread.
RefPtr<WeakReference<WebSharedWorkerClient> > m_client;

Powered by Google App Engine
This is Rietveld 408576698