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

Unified Diff: components/autofill/content/browser/content_autofill_driver_factory.h

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/content/browser/content_autofill_driver_factory.h
diff --git a/components/autofill/content/browser/content_autofill_driver_factory.h b/components/autofill/content/browser/content_autofill_driver_factory.h
index 1103b195f5c7d4d712c23fb35be337353c06bbe8..661856d70d7c57cf0312e21e1a58afc68c728732 100644
--- a/components/autofill/content/browser/content_autofill_driver_factory.h
+++ b/components/autofill/content/browser/content_autofill_driver_factory.h
@@ -6,9 +6,9 @@
#define COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_FACTORY_H_
#include <map>
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "base/supports_user_data.h"
#include "components/autofill/content/browser/request_autocomplete_manager.h"
#include "components/autofill/core/browser/autofill_manager.h"
@@ -73,7 +73,7 @@ class ContentAutofillDriverFactory : public content::WebContentsObserver,
std::string app_locale_;
AutofillManager::AutofillDownloadManagerState enable_download_manager_;
- std::map<content::RenderFrameHost*, scoped_ptr<ContentAutofillDriver>>
+ std::map<content::RenderFrameHost*, std::unique_ptr<ContentAutofillDriver>>
frame_driver_map_;
};

Powered by Google App Engine
This is Rietveld 408576698