Index: third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp b/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp |
index d34f37863f2125746c52915f0ed8b6465008e308..f349d2e8141033e08eea46cab56873bf64ad70ef 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.cpp |
@@ -30,6 +30,7 @@ |
#include "bindings/core/v8/V8PerContextData.h" |
+#include "bindings/core/v8/ConditionalFeatures.h" |
#include "bindings/core/v8/ScriptState.h" |
#include "bindings/core/v8/V8Binding.h" |
#include "bindings/core/v8/V8ObjectConstructor.h" |
@@ -130,6 +131,9 @@ v8::Local<v8::Function> V8PerContextData::constructorForTypeSlowCase(const Wrapp |
return v8::Local<v8::Function>(); |
} |
+ // Origin Trials |
+ installConditionalFeatures(type, ScriptState::from(currentContext), prototypeObject, interfaceObject); |
+ |
m_constructorMap.Set(type, interfaceObject); |
return interfaceObject; |