Index: third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp |
index baeb5c30ad90c60200dc696907d9b99f4eb32e41..00a1df1e3e3746ef394f49fc0d40872d35390750 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp |
@@ -277,6 +277,7 @@ v8::Local<v8::FunctionTemplate> V8PerIsolateData::findOrCreateOperationTemplate( |
return result->value.Get(isolate()); |
v8::Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(isolate(), callback, data, signature, length); |
+ templ->RemovePrototype(); |
map.add(key, v8::Eternal<v8::FunctionTemplate>(isolate(), templ)); |
return templ; |
} |