| Index: content/browser/android/java/gin_java_bridge_dispatcher_host.cc
|
| diff --git a/content/browser/android/java/gin_java_bridge_dispatcher_host.cc b/content/browser/android/java/gin_java_bridge_dispatcher_host.cc
|
| index 88e27dc51ab49db33d377d53685704279326c891..4b1fbeba4738f92d13dad852ab15429188415579 100644
|
| --- a/content/browser/android/java/gin_java_bridge_dispatcher_host.cc
|
| +++ b/content/browser/android/java/gin_java_bridge_dispatcher_host.cc
|
| @@ -330,7 +330,7 @@ void GinJavaBridgeDispatcherHost::OnInvokeMethod(
|
| DCHECK(routing_id != MSG_ROUTING_NONE);
|
| scoped_refptr<GinJavaBoundObject> object = FindObject(object_id);
|
| if (!object.get()) {
|
| - wrapped_result->Append(base::Value::CreateNullValue());
|
| + wrapped_result->Append(base::MakeUnique<base::Value>());
|
| *error_code = kGinJavaBridgeUnknownObjectId;
|
| return;
|
| }
|
| @@ -360,7 +360,7 @@ void GinJavaBridgeDispatcherHost::OnInvokeMethod(
|
| GinJavaBridgeValue::CreateObjectIDValue(
|
| returned_object_id).release());
|
| } else {
|
| - wrapped_result->Append(base::Value::CreateNullValue());
|
| + wrapped_result->Append(base::MakeUnique<base::Value>());
|
| }
|
| }
|
|
|
|
|