Index: third_party/WebKit/Source/web/WebTestingSupport.cpp |
diff --git a/third_party/WebKit/Source/web/WebTestingSupport.cpp b/third_party/WebKit/Source/web/WebTestingSupport.cpp |
index 9f4966ca70d378fba43824ac8227b9e5e4aa0fe0..68a9dcd696553b8ef00b5d3b59c68976732e5eea 100644 |
--- a/third_party/WebKit/Source/web/WebTestingSupport.cpp |
+++ b/third_party/WebKit/Source/web/WebTestingSupport.cpp |
@@ -26,6 +26,7 @@ |
#include "public/web/WebTestingSupport.h" |
#include "bindings/modules/v8/V8InternalsPartial.h" |
+#include "bindings/modules/v8/V8WorkerInternalsPartial.h" |
#include "core/testing/v8/WebCoreTestSupport.h" |
#include "public/web/WebLocalFrame.h" |
#include <v8/include/v8.h> |
@@ -45,6 +46,7 @@ void WebTestingSupport::resetInternalsObject(WebLocalFrame* frame) { |
void WebTestingSupport::injectInternalsObject(v8::Local<v8::Context> context) { |
V8InternalsPartial::initialize(); |
+ V8WorkerInternalsPartial::initialize(); |
v8::HandleScope handleScope(v8::Isolate::GetCurrent()); |
WebCoreTestSupport::injectInternalsObject(context); |
} |