Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Unified Diff: third_party/WebKit/Source/web/WebKit.cpp

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 633d34b6d0a1e1d92aff0b6e254198b7d93868ac..f12c590141746f5a47a8f73d1e6480aed8a6dcce 100644
--- a/third_party/WebKit/Source/web/WebKit.cpp
+++ b/third_party/WebKit/Source/web/WebKit.cpp
@@ -31,11 +31,11 @@
#include "public/web/WebKit.h"
#include <memory>
-
#include "bindings/core/v8/Microtask.h"
#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 +80,8 @@ static ModulesInitializer& GetModulesInitializer() {
void Initialize(Platform* platform) {
Platform::Initialize(platform);
- V8Initializer::InitializeMainThread();
+ V8Initializer::InitializeMainThread(
+ V8SnapshotReference::getExternalReferences());
GetModulesInitializer().Initialize();

Powered by Google App Engine
This is Rietveld 408576698