diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-05-20 09:47:09 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-06-07 11:15:42 +0000 |
commit | 189d4fd8fad9e3c776873be51938cd31a42b6177 (patch) | |
tree | 6497caeff5e383937996768766ab3bb2081a40b2 /chromium/gin/modules | |
parent | 8bc75099d364490b22f43a7ce366b366c08f4164 (diff) | |
download | qtwebengine-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/modules')
-rw-r--r-- | chromium/gin/modules/console.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/gin/modules/console.cc b/chromium/gin/modules/console.cc index 8786392b9e6..7e3087fb982 100644 --- a/chromium/gin/modules/console.cc +++ b/chromium/gin/modules/console.cc @@ -29,9 +29,9 @@ void Log(const v8::FunctionCallbackInfo<v8::Value>& info) { // static void Console::Register(v8::Isolate* isolate, v8::Local<v8::ObjectTemplate> templ) { - v8::Local<v8::FunctionTemplate> log_templ = - v8::FunctionTemplate::New(isolate, Log); - log_templ->RemovePrototype(); + v8::Local<v8::FunctionTemplate> log_templ = v8::FunctionTemplate::New( + isolate, Log, v8::Local<v8::Value>(), v8::Local<v8::Signature>(), 0, + v8::ConstructorBehavior::kThrow); templ->Set(StringToSymbol(isolate, "log"), log_templ); } |