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

Unified Diff: third_party/WebKit/Source/controller/BlinkInitializer.cpp

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Rebase Created 3 years, 5 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/controller/BlinkInitializer.cpp
diff --git a/third_party/WebKit/Source/controller/BlinkInitializer.cpp b/third_party/WebKit/Source/controller/BlinkInitializer.cpp
index a314d18a3e906b6b8516280e32958ee147ffa3f5..75f35353677d369df51242d86cff22426075050b 100644
--- a/third_party/WebKit/Source/controller/BlinkInitializer.cpp
+++ b/third_party/WebKit/Source/controller/BlinkInitializer.cpp
@@ -29,6 +29,7 @@
*/
#include "bindings/core/v8/V8Initializer.h"
+#include "bindings/modules/v8/V8ContextSnapshotExternalReferences.h"
#include "core/animation/AnimationClock.h"
#include "modules/ModulesInitializer.h"
#include "platform/bindings/Microtask.h"
@@ -69,8 +70,8 @@ static ModulesInitializer& GetModulesInitializer() {
void Initialize(Platform* platform) {
Platform::Initialize(platform);
- V8Initializer::InitializeMainThread();
-
+ V8Initializer::InitializeMainThread(
+ V8ContextSnapshotExternalReferences::GetTable());
GetModulesInitializer().Initialize();
WebFactoryImpl::Initialize();
« no previous file with comments | « third_party/WebKit/Source/bindings/templates/templates.gni ('k') | third_party/WebKit/Source/core/exported/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698