| Index: chrome/browser/extensions/api/preference/preference_helpers.cc
|
| diff --git a/chrome/browser/extensions/api/preference/preference_helpers.cc b/chrome/browser/extensions/api/preference/preference_helpers.cc
|
| index c018fa23c9cc36d8e89ccf0adb10db379fc1d6e3..e2b3577cbe59298be11c837761513941770bfb5f 100644
|
| --- a/chrome/browser/extensions/api/preference/preference_helpers.cc
|
| +++ b/chrome/browser/extensions/api/preference/preference_helpers.cc
|
| @@ -127,8 +127,8 @@ void DispatchEventToExtensions(Profile* profile,
|
| }
|
| }
|
|
|
| - scoped_ptr<base::ListValue> args_copy(args->DeepCopy());
|
| - scoped_ptr<Event> event(
|
| + std::unique_ptr<base::ListValue> args_copy(args->DeepCopy());
|
| + std::unique_ptr<Event> event(
|
| new Event(histogram_value, event_name, std::move(args_copy)));
|
| event->restrict_to_browser_context = restrict_to_profile;
|
| router->DispatchEventToExtension(extension->id(), std::move(event));
|
|
|