| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp
|
| index acd06af145e6bba2298e419f941ef8f4efeb1835..e56c2f03d6b7bd59788a2be792167943108c221d 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp
|
| @@ -107,10 +107,12 @@ void V8MessageEvent::initMessageEventMethodCustom(
|
| TOSTRING_VOID(V8StringResource<>, type_arg, info[0]);
|
| bool can_bubble_arg = false;
|
| bool cancelable_arg = false;
|
| - if (!V8Call(info[1]->BooleanValue(info.GetIsolate()->GetCurrentContext()),
|
| - can_bubble_arg) ||
|
| - !V8Call(info[2]->BooleanValue(info.GetIsolate()->GetCurrentContext()),
|
| - cancelable_arg))
|
| + if (!info[1]
|
| + ->BooleanValue(info.GetIsolate()->GetCurrentContext())
|
| + .To(&can_bubble_arg) ||
|
| + !info[2]
|
| + ->BooleanValue(info.GetIsolate()->GetCurrentContext())
|
| + .To(&cancelable_arg))
|
| return;
|
| v8::Local<v8::Value> data_arg = info[3];
|
| TOSTRING_VOID(V8StringResource<>, origin_arg, info[4]);
|
|
|