Index: chrome/browser/sync/test/integration/apps_helper.cc |
diff --git a/chrome/browser/sync/test/integration/apps_helper.cc b/chrome/browser/sync/test/integration/apps_helper.cc |
index 16e6e12f4dcddc03f5a6bd1ddc8e15b94735da90..6c767ae6ad867e4755df197144cecbc828ceb195 100644 |
--- a/chrome/browser/sync/test/integration/apps_helper.cc |
+++ b/chrome/browser/sync/test/integration/apps_helper.cc |
@@ -6,6 +6,7 @@ |
#include "base/logging.h" |
#include "base/macros.h" |
+#include "base/memory/ptr_util.h" |
#include "base/strings/string_number_conversions.h" |
#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -152,7 +153,7 @@ AppsMatchChecker::AppsMatchChecker() : profiles_(test()->GetAllProfiles()) { |
for (Profile* profile : profiles_) { |
// Begin mocking the installation of synced extensions from the web store. |
synced_extension_installers_.push_back( |
- new SyncedExtensionInstaller(profile)); |
+ base::MakeUnique<SyncedExtensionInstaller>(profile)); |
// Register as an observer of ExtensionsRegistry to receive notifications of |
// big events, like installs and uninstalls. |