Index: chrome/browser/ui/views/sync/bubble_sync_promo_view_unittest.cc |
diff --git a/chrome/browser/ui/views/sync/bubble_sync_promo_view_unittest.cc b/chrome/browser/ui/views/sync/bubble_sync_promo_view_unittest.cc |
index ea7c104a1b1584bf0dc1963538200d61fa8c3032..9e4ad89fd78b755c2ae0e9d37cebf898fd54a7f3 100644 |
--- a/chrome/browser/ui/views/sync/bubble_sync_promo_view_unittest.cc |
+++ b/chrome/browser/ui/views/sync/bubble_sync_promo_view_unittest.cc |
@@ -4,9 +4,10 @@ |
#include "chrome/browser/ui/views/sync/bubble_sync_promo_view.h" |
+#include <memory> |
+ |
#include "base/compiler_specific.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/strings/utf_string_conversions.h" |
#include "chrome/browser/ui/sync/bubble_sync_promo_delegate.h" |
#include "chrome/grit/chromium_strings.h" |
@@ -33,7 +34,7 @@ class BubbleSyncPromoViewTest : public BubbleSyncPromoDelegate, |
}; |
TEST_F(BubbleSyncPromoViewTest, SignInLink) { |
- scoped_ptr<BubbleSyncPromoView> sync_promo; |
+ std::unique_ptr<BubbleSyncPromoView> sync_promo; |
sync_promo.reset(new BubbleSyncPromoView(this, IDS_BOOKMARK_SYNC_PROMO_LINK, |
IDS_BOOKMARK_SYNC_PROMO_MESSAGE)); |