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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_layout_model_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/autofill/autofill_popup_layout_model_unittest.cc
diff --git a/chrome/browser/ui/autofill/autofill_popup_layout_model_unittest.cc b/chrome/browser/ui/autofill/autofill_popup_layout_model_unittest.cc
index 0858bd48e8fc9c4f4042664c04c7a15ded3698a7..0fa1bfcc97f224f466a3f2c864d168b6f5869bfd 100644
--- a/chrome/browser/ui/autofill/autofill_popup_layout_model_unittest.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_layout_model_unittest.cc
@@ -6,7 +6,8 @@
#include <stddef.h>
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "chrome/browser/ui/autofill/autofill_popup_view.h"
#include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h"
#include "chrome/browser/ui/autofill/popup_constants.h"
@@ -73,8 +74,8 @@ class AutofillPopupLayoutModelTest : public ChromeRenderViewHostTestHarness {
AutofillPopupLayoutModel* layout_model() { return layout_model_.get(); }
private:
- scoped_ptr<TestAutofillPopupViewDelegate> delegate_;
- scoped_ptr<AutofillPopupLayoutModel> layout_model_;
+ std::unique_ptr<TestAutofillPopupViewDelegate> delegate_;
+ std::unique_ptr<AutofillPopupLayoutModel> layout_model_;
};
} // namespace

Powered by Google App Engine
This is Rietveld 408576698