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

Unified Diff: chrome/browser/ui/autofill/password_generation_popup_view_tester.h

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/password_generation_popup_view_tester.h
diff --git a/chrome/browser/ui/autofill/password_generation_popup_view_tester.h b/chrome/browser/ui/autofill/password_generation_popup_view_tester.h
index 7355cc3283afa236da35eb0458fe9c5ce1006911..f3b5a0fff2be27de961254af85c948c396a99f37 100644
--- a/chrome/browser/ui/autofill/password_generation_popup_view_tester.h
+++ b/chrome/browser/ui/autofill/password_generation_popup_view_tester.h
@@ -5,7 +5,8 @@
#ifndef CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_TESTER_H_
#define CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_TESTER_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "ui/gfx/geometry/point.h"
namespace autofill {
@@ -15,7 +16,7 @@ class PasswordGenerationPopupView;
// Helps test a PasswordGenerationPopupView.
class PasswordGenerationPopupViewTester {
public:
- static scoped_ptr<PasswordGenerationPopupViewTester> For(
+ static std::unique_ptr<PasswordGenerationPopupViewTester> For(
PasswordGenerationPopupView* view);
virtual ~PasswordGenerationPopupViewTester() {}

Powered by Google App Engine
This is Rietveld 408576698