Index: chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views_unittest.cc |
diff --git a/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views_unittest.cc b/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views_unittest.cc |
index 8d9e597c6a751ab542601b96de8321e3b42b9cea..5e06a0e761581c60320013f2759eba2d4586d814 100644 |
--- a/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views_unittest.cc |
+++ b/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views_unittest.cc |
@@ -4,8 +4,9 @@ |
#include "chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.h" |
+#include <memory> |
+ |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/run_loop.h" |
#include "chrome/browser/extensions/extension_service.h" |
#include "chrome/browser/extensions/test_extension_environment.h" |
@@ -154,7 +155,7 @@ TEST_F(AppInfoDialogViewsTest, DestroyedProfileClosesDialog) { |
// Tests that the dialog does not close when a different profile is destroyed. |
TEST_F(AppInfoDialogViewsTest, DestroyedOtherProfileDoesNotCloseDialog) { |
- scoped_ptr<TestingProfile> other_profile(new TestingProfile); |
+ std::unique_ptr<TestingProfile> other_profile(new TestingProfile); |
extension_environment_.CreateExtensionServiceForProfile(other_profile.get()); |
scoped_refptr<const extensions::Extension> other_app = |