Index: components/autofill/content/browser/content_autofill_driver_factory.cc |
diff --git a/components/autofill/content/browser/content_autofill_driver_factory.cc b/components/autofill/content/browser/content_autofill_driver_factory.cc |
index 7cc116404d1dcb7fb5731ddbc684fe4fecdca1f1..32465df8fa498a67799d01335e68350f1d6cad54 100644 |
--- a/components/autofill/content/browser/content_autofill_driver_factory.cc |
+++ b/components/autofill/content/browser/content_autofill_driver_factory.cc |
@@ -100,8 +100,8 @@ void ContentAutofillDriverFactory::RenderFrameCreated( |
frame_driver_map_.insert(std::make_pair(render_frame_host, nullptr)); |
// This is called twice for the main frame. |
if (insertion_result.second) { // This was the first time. |
- insertion_result.first->second = base::WrapUnique(new ContentAutofillDriver( |
- render_frame_host, client_, app_locale_, enable_download_manager_)); |
+ insertion_result.first->second = base::MakeUnique<ContentAutofillDriver>( |
+ render_frame_host, client_, app_locale_, enable_download_manager_); |
} |
} |