Index: third_party/WebKit/Source/core/workers/WorkerThread.h |
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.h b/third_party/WebKit/Source/core/workers/WorkerThread.h |
index cf6ccda60c48906f732f64b14228702f890c4c55..be5c3300505fb37ec2f7fd1633c818652acc5fe7 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerThread.h |
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.h |
@@ -38,6 +38,7 @@ |
#include "wtf/Functional.h" |
#include "wtf/OwnPtr.h" |
#include "wtf/PassRefPtr.h" |
+#include <set> |
#include <v8.h> |
namespace blink { |
@@ -114,6 +115,8 @@ public: |
PlatformThreadId platformThreadId(); |
+ static std::set<v8::Isolate*>* workerThreadIsolates(); |
kinuko
2016/04/11 09:30:40
Why we return mutable pointer to the set here?
hong.zheng
2016/04/15 06:05:57
Done.
|
+ |
protected: |
WorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&); |
@@ -174,6 +177,8 @@ private: |
// Used to signal thread termination. |
OwnPtr<WaitableEvent> m_terminationEvent; |
+ |
+ static std::set<v8::Isolate*>* gIsolates; |
kinuko
2016/04/11 09:30:40
Why do we need to have this in the header?
hong.zheng
2016/04/15 06:05:57
Done.
|
}; |
} // namespace blink |