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 e87484f4b15c60d17ed13a6c161e3d9b9a2cb6a7..eda65233f6ff2080d4a90fd563b06f7269ca0e56 100644 |
--- a/third_party/WebKit/Source/web/WebKit.cpp |
+++ b/third_party/WebKit/Source/web/WebKit.cpp |
@@ -35,6 +35,7 @@ |
#include "bindings/core/v8/V8BindingForCore.h" |
#include "bindings/core/v8/V8GCController.h" |
#include "bindings/core/v8/V8Initializer.h" |
+#include "bindings/modules/v8/V8SnapshotReference.h" |
#include "core/animation/AnimationClock.h" |
#include "core/layout/LayoutTheme.h" |
#include "core/page/Page.h" |
@@ -80,7 +81,8 @@ static ModulesInitializer& GetModulesInitializer() { |
void Initialize(Platform* platform) { |
Platform::Initialize(platform); |
- V8Initializer::InitializeMainThread(); |
+ V8Initializer::InitializeMainThread( |
+ V8SnapshotReference::getExternalReferences()); |
GetModulesInitializer().Initialize(); |