Index: chrome/browser/ui/autofill/credit_card_scanner_view.h |
diff --git a/chrome/browser/ui/autofill/credit_card_scanner_view.h b/chrome/browser/ui/autofill/credit_card_scanner_view.h |
index c01e2ebf91477da48b48e1b2d2f67f67dafa0b6d..079b928b5c69e27f5954c1e5b257ea5edcbd1bcf 100644 |
--- a/chrome/browser/ui/autofill/credit_card_scanner_view.h |
+++ b/chrome/browser/ui/autofill/credit_card_scanner_view.h |
@@ -5,7 +5,8 @@ |
#ifndef CHROME_BROWSER_UI_AUTOFILL_CREDIT_CARD_SCANNER_VIEW_H_ |
#define CHROME_BROWSER_UI_AUTOFILL_CREDIT_CARD_SCANNER_VIEW_H_ |
-#include "base/memory/scoped_ptr.h" |
+#include <memory> |
+ |
#include "base/memory/weak_ptr.h" |
namespace content { |
@@ -26,7 +27,7 @@ class CreditCardScannerView { |
// Creates a view for the credit card scanner UI. The view is associated with |
// the |web_contents| and notifies the |delegate| when a scan is cancelled or |
// completed. Should be called only if CanShow() returns true. |
- static scoped_ptr<CreditCardScannerView> Create( |
+ static std::unique_ptr<CreditCardScannerView> Create( |
const base::WeakPtr<CreditCardScannerViewDelegate>& delegate, |
content::WebContents* web_contents); |