OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CompositorWorkerManager_h | 5 #ifndef CompositorWorkerManager_h |
6 #define CompositorWorkerManager_h | 6 #define CompositorWorkerManager_h |
7 | 7 |
8 #include "modules/ModulesExport.h" | 8 #include "modules/ModulesExport.h" |
9 #include "wtf/OwnPtr.h" | 9 #include "wtf/OwnPtr.h" |
10 #include "wtf/PassOwnPtr.h" | 10 #include "wtf/PassOwnPtr.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 private: | 41 private: |
42 friend class CompositorWorkerManagerTest; | 42 friend class CompositorWorkerManagerTest; |
43 | 43 |
44 CompositorWorkerManager(); | 44 CompositorWorkerManager(); |
45 ~CompositorWorkerManager(); | 45 ~CompositorWorkerManager(); |
46 | 46 |
47 Mutex m_mutex; | 47 Mutex m_mutex; |
48 OwnPtr<WebThreadSupportingGC> m_thread; | 48 OwnPtr<WebThreadSupportingGC> m_thread; |
49 int m_workerCount = 0; | 49 int m_workerCount = 0; |
50 v8::Isolate* m_isolate = nullptr; | 50 v8::Isolate* m_isolate = nullptr; |
51 OwnPtr<V8IsolateInterruptor> m_interruptor; | |
52 }; | 51 }; |
53 | 52 |
54 } // namespace blink | 53 } // namespace blink |
55 | 54 |
56 #endif // CompositorWorkerManager_h | 55 #endif // CompositorWorkerManager_h |
OLD | NEW |