| Index: extensions/renderer/user_gestures_native_handler.cc
|
| diff --git a/extensions/renderer/user_gestures_native_handler.cc b/extensions/renderer/user_gestures_native_handler.cc
|
| index 6d310949f3b2ccfb9ee2bdc8451a09cf803c025e..b99cb44d2d538ca030ebc113e8fa9e74f2b19ed6 100644
|
| --- a/extensions/renderer/user_gestures_native_handler.cc
|
| +++ b/extensions/renderer/user_gestures_native_handler.cc
|
| @@ -39,8 +39,8 @@ void UserGesturesNativeHandler::RunWithUserGesture(
|
| blink::WebScopedUserGesture user_gesture(context()->web_frame());
|
| CHECK_EQ(args.Length(), 1);
|
| CHECK(args[0]->IsFunction());
|
| - v8::Local<v8::Value> no_args;
|
| - context()->CallFunction(v8::Local<v8::Function>::Cast(args[0]), 0, &no_args);
|
| + context()->CallFunction(v8::Local<v8::Function>::Cast(args[0]), 0,
|
| + nullptr);
|
| }
|
|
|
| void UserGesturesNativeHandler::RunWithoutUserGesture(
|
| @@ -49,7 +49,8 @@ void UserGesturesNativeHandler::RunWithoutUserGesture(
|
| CHECK_EQ(args.Length(), 1);
|
| CHECK(args[0]->IsFunction());
|
| v8::Local<v8::Value> no_args;
|
| - context()->CallFunction(v8::Local<v8::Function>::Cast(args[0]), 0, &no_args);
|
| + context()->CallFunction(v8::Local<v8::Function>::Cast(args[0]), 0,
|
| + nullptr);
|
| }
|
|
|
| } // namespace extensions
|
|
|