| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WebThreadSupportingGC_h | 5 #ifndef WebThreadSupportingGC_h |
| 6 #define WebThreadSupportingGC_h | 6 #define WebThreadSupportingGC_h |
| 7 | 7 |
| 8 #include "platform/heap/GCTaskRunner.h" | 8 #include "platform/heap/GCTaskRunner.h" |
| 9 #include "public/platform/Platform.h" | 9 #include "public/platform/Platform.h" |
| 10 #include "public/platform/WebTaskRunner.h" | 10 #include "public/platform/WebTaskRunner.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 OwnPtr<GCTaskRunner> m_gcTaskRunner; | 73 OwnPtr<GCTaskRunner> m_gcTaskRunner; |
| 74 | 74 |
| 75 // m_thread is guaranteed to be non-null after this instance is constructed. | 75 // m_thread is guaranteed to be non-null after this instance is constructed. |
| 76 // m_owningThread is non-null unless this instance is constructed for an | 76 // m_owningThread is non-null unless this instance is constructed for an |
| 77 // existing thread via createForThread(). | 77 // existing thread via createForThread(). |
| 78 WebThread* m_thread = nullptr; | 78 WebThread* m_thread = nullptr; |
| 79 OwnPtr<WebThread> m_owningThread; | 79 OwnPtr<WebThread> m_owningThread; |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 } | 82 } // namespace blink |
| 83 | 83 |
| 84 #endif | 84 #endif |
| OLD | NEW |