summaryrefslogtreecommitdiff
path: root/chromium/gin/function_template.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-05-20 09:47:09 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-06-07 11:15:42 +0000
commit189d4fd8fad9e3c776873be51938cd31a42b6177 (patch)
tree6497caeff5e383937996768766ab3bb2081a40b2 /chromium/gin/function_template.h
parent8bc75099d364490b22f43a7ce366b366c08f4164 (diff)
downloadqtwebengine-chromium-189d4fd8fad9e3c776873be51938cd31a42b6177.tar.gz
BASELINE: Update Chromium to 90.0.4430.221
Change-Id: Iff4d9d18d2fcf1a576f3b1f453010f744a232920 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/gin/function_template.h')
-rw-r--r--chromium/gin/function_template.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/chromium/gin/function_template.h b/chromium/gin/function_template.h
index 3f6a1ddfead..2c13d418a09 100644
--- a/chromium/gin/function_template.h
+++ b/chromium/gin/function_template.h
@@ -248,9 +248,8 @@ v8::Local<v8::FunctionTemplate> CreateFunctionTemplate(
v8::Local<v8::FunctionTemplate> tmpl = v8::FunctionTemplate::New(
isolate, &internal::Dispatcher<Sig>::DispatchToCallback,
- ConvertToV8<v8::Local<v8::External>>(isolate,
- holder->GetHandle(isolate)));
- tmpl->RemovePrototype();
+ ConvertToV8<v8::Local<v8::External>>(isolate, holder->GetHandle(isolate)),
+ v8::Local<v8::Signature>(), 0, v8::ConstructorBehavior::kThrow);
return tmpl;
}