Chromium Code Reviews| 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 993a156d2c97cc901e432decead0d8e3b6ee33d2..c82dcf909989cc6c2cce25c7739b8012cb14d36b 100644 |
| --- a/third_party/WebKit/Source/web/WebKit.cpp |
| +++ b/third_party/WebKit/Source/web/WebKit.cpp |
| @@ -35,6 +35,8 @@ |
| #include "bindings/core/v8/V8BindingForCore.h" |
| #include "bindings/core/v8/V8GCController.h" |
| #include "bindings/core/v8/V8Initializer.h" |
| +#include "bindings/core/v8/V8SnapshotUtil.h" |
| +#include "bindings/modules/v8/V8SnapshotExternalReferences.h" |
| #include "core/animation/AnimationClock.h" |
| #include "core/layout/LayoutTheme.h" |
| #include "core/page/Page.h" |
| @@ -81,6 +83,8 @@ static ModulesInitializer& GetModulesInitializer() { |
| void Initialize(Platform* platform) { |
| Platform::Initialize(platform); |
| + // Refernce table must be updated before creating isolates. |
|
haraken
2017/07/04 15:04:20
creating an isolate.
peria
2017/07/07 06:22:04
Done.
|
| + V8SnapshotUtil::SetReferenceTable(V8SnapshotExternalReferences::GetTable()); |
| V8Initializer::InitializeMainThread(); |
|
haraken
2017/07/04 15:04:20
Would it be possible to pass in V8SnapshotExternal
peria
2017/07/07 06:22:04
Done.
|
| GetModulesInitializer().Initialize(); |