Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: chrome/browser/ui/views/sync/bubble_sync_promo_view_unittest.cc

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));

Powered by Google App Engine
This is Rietveld 408576698