Index: Source/web/WebTestingSupport.cpp |
diff --git a/Source/web/WebTestingSupport.cpp b/Source/web/WebTestingSupport.cpp |
index 70920fdf2e31a29b3cdf98c43bb257415ef3d7d2..6ea35576bbf347e90d72a96dc1e9e88a5b201296 100644 |
--- a/Source/web/WebTestingSupport.cpp |
+++ b/Source/web/WebTestingSupport.cpp |
@@ -26,6 +26,7 @@ |
#include "config.h" |
#include "public/web/WebTestingSupport.h" |
+#include "bindings/modules/v8/V8InternalsPartial.h" |
#include "core/testing/v8/WebCoreTestSupport.h" |
#include "public/web/WebLocalFrame.h" |
#include <v8/include/v8.h> |
@@ -34,6 +35,7 @@ namespace blink { |
void WebTestingSupport::injectInternalsObject(WebLocalFrame* frame) |
{ |
+ V8InternalsPartial::initialize(); |
v8::HandleScope handleScope(v8::Isolate::GetCurrent()); |
WebCoreTestSupport::injectInternalsObject(frame->mainWorldScriptContext()); |
} |