Index: third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h |
index e654481aee501ed044d5d9cff0a67d95e6187b50..06a3ecb5f174e9d519174a1d952215b36788bbc3 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h |
@@ -59,7 +59,6 @@ typedef void (*TraceWrappersFunction)(WrapperVisitor*, ScriptWrappable*); |
typedef ActiveScriptWrappable* (*ToActiveScriptWrappableFunction)(v8::Local<v8::Object>); |
typedef void (*ResolveWrapperReachabilityFunction)(v8::Isolate*, ScriptWrappable*, const v8::Persistent<v8::Object>&); |
typedef void (*PreparePrototypeAndInterfaceObjectFunction)(v8::Local<v8::Context>, const DOMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8::FunctionTemplate>); |
-typedef void (*InstallConditionallyEnabledPropertiesFunction)(v8::Local<v8::Object>, v8::Isolate*); |
inline void setObjectGroup(v8::Isolate* isolate, ScriptWrappable* scriptWrappable, const v8::Persistent<v8::Object>& wrapper) |
{ |
@@ -159,12 +158,6 @@ struct WrapperTypeInfo { |
preparePrototypeAndInterfaceObjectFunction(context, world, prototypeObject, interfaceObject, interfaceTemplate); |
} |
- void installConditionallyEnabledProperties(v8::Local<v8::Object> prototypeObject, v8::Isolate* isolate) const |
- { |
- if (installConditionallyEnabledPropertiesFunction) |
- installConditionallyEnabledPropertiesFunction(prototypeObject, isolate); |
- } |
- |
bool isActiveScriptWrappable() const |
{ |
return activeScriptWrappableInheritance == InheritFromActiveScriptWrappable; |
@@ -189,7 +182,6 @@ struct WrapperTypeInfo { |
const TraceWrappersFunction traceWrappersFunction; |
const ResolveWrapperReachabilityFunction visitDOMWrapperFunction; |
PreparePrototypeAndInterfaceObjectFunction preparePrototypeAndInterfaceObjectFunction; |
- const InstallConditionallyEnabledPropertiesFunction installConditionallyEnabledPropertiesFunction; |
const char* const interfaceName; |
const WrapperTypeInfo* parentClass; |
const unsigned wrapperTypePrototype : 1; // WrapperTypePrototype |