Chromium Code Reviews| Index: Source/core/workers/WorkerThread.h |
| diff --git a/Source/core/workers/WorkerThread.h b/Source/core/workers/WorkerThread.h |
| index d9bd49b952000d06cc50138b92223b7815c46e40..6e0d9523c8860d493b97c2533a457752ee446d8d 100644 |
| --- a/Source/core/workers/WorkerThread.h |
| +++ b/Source/core/workers/WorkerThread.h |
| @@ -159,12 +159,14 @@ private: |
| // Used to signal thread termination. |
| OwnPtr<WebWaitableEvent> m_terminationEvent; |
| + WebThreadSupportingGC* m_thread; |
| + |
| // FIXME: This has to be last because of crbug.com/401397 - the |
| // WorkerThread might get deleted before it had a chance to properly |
| // shut down. By deleting the WebThread first, we can guarantee that |
| // no pending tasks on the thread might want to access any of the other |
| // members during the WorkerThread's destruction. |
| - OwnPtr<WebThreadSupportingGC> m_thread; |
| + OwnPtr<WebThreadSupportingGC> m_ownThread; |
|
kinuko
2015/04/27 06:02:58
The relationship between m_thread and m_ownThread
sadrul
2015/04/27 07:05:29
The idea is that for compositor workers, there wil
|
| }; |
| } // namespace blink |