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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_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_dialog_controller_unittest.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
index 5c1e044db64c7750374f00f519cb9b366236f59d..24e2b5ac6c4780cc14f00e3551dd401083049cbf 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
@@ -5,6 +5,7 @@
#include <stddef.h>
#include <map>
+#include <memory>
#include <utility>
#include "base/bind.h"
@@ -13,7 +14,6 @@
#include "base/command_line.h"
#include "base/guid.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
@@ -507,7 +507,7 @@ class AutofillDialogControllerTest : public ChromeRenderViewHostTestHarness {
// Returned when the dialog closes successfully.
const FormStructure* form_structure_;
- scoped_ptr<ScopedTestingLocalState> scoped_local_state_;
+ std::unique_ptr<ScopedTestingLocalState> scoped_local_state_;
};
} // namespace

Powered by Google App Engine
This is Rietveld 408576698