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

Unified Diff: third_party/WebKit/Source/platform/bindings/V8PerContextData.cpp

Issue 2989793003: Revert of [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: 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/platform/bindings/V8PerContextData.cpp
diff --git a/third_party/WebKit/Source/platform/bindings/V8PerContextData.cpp b/third_party/WebKit/Source/platform/bindings/V8PerContextData.cpp
index 0beda4b7ab18a20240d9bfbb4594e1d1b1198929..5aadd3903d6e43d452f757521489fe1cac652ff3 100644
--- a/third_party/WebKit/Source/platform/bindings/V8PerContextData.cpp
+++ b/third_party/WebKit/Source/platform/bindings/V8PerContextData.cpp
@@ -136,7 +136,9 @@
// Origin Trials
InstallConditionalFeatures(type, ScriptState::From(current_context),
prototype_object, interface_object);
+
constructor_map_.Set(type, interface_object);
+
return interface_object;
}

Powered by Google App Engine
This is Rietveld 408576698