| Index: chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
|
| diff --git a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
|
| index a785c2556524aaca483f3b9a50763f05898280f1..c924a72f36c277058c8559ec3cf04d55ca00c5c6 100644
|
| --- a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
|
| +++ b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
|
| @@ -361,7 +361,7 @@ void LocalDiscoveryUIHandler::DeviceChanged(
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "local_discovery.onUnregisteredDeviceUpdate", service_key, info);
|
| } else {
|
| - std::unique_ptr<base::Value> null_value = base::Value::CreateNullValue();
|
| + auto null_value = base::MakeUnique<base::Value>();
|
|
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "local_discovery.onUnregisteredDeviceUpdate", service_key, *null_value);
|
| @@ -370,7 +370,7 @@ void LocalDiscoveryUIHandler::DeviceChanged(
|
|
|
| void LocalDiscoveryUIHandler::DeviceRemoved(const std::string& name) {
|
| device_descriptions_.erase(name);
|
| - std::unique_ptr<base::Value> null_value = base::Value::CreateNullValue();
|
| + auto null_value = base::MakeUnique<base::Value>();
|
| base::Value name_value(kKeyPrefixMDns + name);
|
|
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
|
|