Index: third_party/WebKit/Source/web/WebKit.cpp |
diff --git a/third_party/WebKit/Source/web/WebKit.cpp b/third_party/WebKit/Source/web/WebKit.cpp |
index 4d721c37b56474bebee68fcdb00560d62d8a0194..43fe01a6b2a151500986461c973e5026587ecee2 100644 |
--- a/third_party/WebKit/Source/web/WebKit.cpp |
+++ b/third_party/WebKit/Source/web/WebKit.cpp |
@@ -36,6 +36,7 @@ |
#include "bindings/core/v8/V8Initializer.h" |
#include "core/animation/AnimationClock.h" |
#include "core/page/Page.h" |
+#include "core/workers/WorkerThread.h" |
#include "gin/public/v8_platform.h" |
#include "modules/ModulesInitializer.h" |
#include "platform/LayoutTestSupport.h" |
@@ -177,4 +178,9 @@ void decommitFreeableMemory() |
WTF::Partitions::decommitFreeableMemory(); |
} |
+std::set<v8::Isolate*>* workerThreadIsolates() |
+{ |
+ return WorkerThread::workerThreadIsolates(); |
+} |
+ |
} // namespace blink |