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

Unified Diff: third_party/WebKit/Source/platform/bindings/V8PerContextData.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/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 5aadd3903d6e43d452f757521489fe1cac652ff3..0beda4b7ab18a20240d9bfbb4594e1d1b1198929 100644
--- a/third_party/WebKit/Source/platform/bindings/V8PerContextData.cpp
+++ b/third_party/WebKit/Source/platform/bindings/V8PerContextData.cpp
@@ -136,9 +136,7 @@ v8::Local<v8::Function> V8PerContextData::ConstructorForTypeSlowCase(
// 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