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

Unified Diff: components/autofill/core/browser/autofill_download_manager_unittest.cc

Issue 1859453002: components/autofill: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed 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: components/autofill/core/browser/autofill_download_manager_unittest.cc
diff --git a/components/autofill/core/browser/autofill_download_manager_unittest.cc b/components/autofill/core/browser/autofill_download_manager_unittest.cc
index d1f04881870805db60b7abda5bf7260666fa88cf..ad26e28c0df42fab768c6cac8681cc043528dabc 100644
--- a/components/autofill/core/browser/autofill_download_manager_unittest.cc
+++ b/components/autofill/core/browser/autofill_download_manager_unittest.cc
@@ -7,6 +7,7 @@
#include <stddef.h>
#include <list>
+#include <memory>
#include <utility>
#include "base/strings/string_number_conversions.h"
@@ -401,7 +402,7 @@ TEST_F(AutofillDownloadManagerTest, BackoffLogic_Upload) {
field.form_control_type = "submit";
form.fields.push_back(field);
- scoped_ptr<FormStructure> form_structure(new FormStructure(form));
+ std::unique_ptr<FormStructure> form_structure(new FormStructure(form));
// Request with id 0.
EXPECT_TRUE(download_manager_.StartUploadRequest(

Powered by Google App Engine
This is Rietveld 408576698