Commit f8d66686 authored by Dan Elphick's avatar Dan Elphick Committed by Commit Bot

[cleanup] Fix use of deprecated BooleanValue in blink bindings

Also rebaselines the tests to match.

Bug: v8:7279, v8:8238
Change-Id: I4ba0aa32c5048a4a7e7a86ebf7481f048c13c95c
Reviewed-on: https://chromium-review.googlesource.com/c/1349225Reviewed-by: default avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Dan Elphick <delphick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610619}
parent 15a28138
...@@ -192,7 +192,7 @@ void {{v8_class}}::ToImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value, {{ ...@@ -192,7 +192,7 @@ void {{v8_class}}::ToImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value, {{
{# 16. Boolean (fallback) #} {# 16. Boolean (fallback) #}
{% elif boolean_type %} {% elif boolean_type %}
{ {
impl.SetBoolean(v8Value->BooleanValue(isolate->GetCurrentContext()).ToChecked()); impl.SetBoolean(v8Value->BooleanValue(isolate));
return; return;
} }
......
...@@ -89,7 +89,7 @@ void V8BooleanOrElementSequence::ToImpl(v8::Isolate* isolate, v8::Local<v8::Valu ...@@ -89,7 +89,7 @@ void V8BooleanOrElementSequence::ToImpl(v8::Isolate* isolate, v8::Local<v8::Valu
} }
{ {
impl.SetBoolean(v8Value->BooleanValue(isolate->GetCurrentContext()).ToChecked()); impl.SetBoolean(v8Value->BooleanValue(isolate));
return; return;
} }
} }
......
...@@ -81,7 +81,7 @@ void V8BooleanOrTestCallbackInterface::ToImpl(v8::Isolate* isolate, v8::Local<v8 ...@@ -81,7 +81,7 @@ void V8BooleanOrTestCallbackInterface::ToImpl(v8::Isolate* isolate, v8::Local<v8
} }
{ {
impl.SetBoolean(v8Value->BooleanValue(isolate->GetCurrentContext()).ToChecked()); impl.SetBoolean(v8Value->BooleanValue(isolate));
return; return;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment