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

Unified Diff: Source/modules/compositorworker/CompositorWorkerManager.h

Issue 1319363002: Makes WebThreadSupportingGC constructible for an existing thread (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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/modules/compositorworker/CompositorWorkerManager.h
diff --git a/Source/modules/compositorworker/CompositorWorkerManager.h b/Source/modules/compositorworker/CompositorWorkerManager.h
index aeafa08fc8825a8a89ae432c79945c6da99c40bf..5a5d5436077d7ca4720b43a26908ef762d17b0e5 100644
--- a/Source/modules/compositorworker/CompositorWorkerManager.h
+++ b/Source/modules/compositorworker/CompositorWorkerManager.h
@@ -14,6 +14,7 @@
namespace blink {
class V8IsolateInterruptor;
+class WebThread;
class WebThreadSupportingGC;
class MODULES_EXPORT CompositorWorkerManager final {
@@ -46,6 +47,7 @@ private:
Mutex m_mutex;
OwnPtr<WebThreadSupportingGC> m_thread;
+ OwnPtr<WebThread> m_platformThread;
int m_workerCount = 0;
v8::Isolate* m_isolate = nullptr;
};

Powered by Google App Engine
This is Rietveld 408576698