| Index: components/favicon/ios/web_favicon_driver.mm
|
| diff --git a/components/favicon/ios/web_favicon_driver.mm b/components/favicon/ios/web_favicon_driver.mm
|
| index 01f4ff8f62518d0d5ec31952d7f063c36e9fcffb..cba29896466f896d55e946a8e8c0b1588b3578ad 100644
|
| --- a/components/favicon/ios/web_favicon_driver.mm
|
| +++ b/components/favicon/ios/web_favicon_driver.mm
|
| @@ -5,6 +5,7 @@
|
| #include "components/favicon/ios/web_favicon_driver.h"
|
|
|
| #include "base/bind.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/threading/sequenced_worker_pool.h"
|
| #include "components/favicon/core/favicon_url.h"
|
| #include "components/favicon/ios/favicon_url_util.h"
|
| @@ -43,9 +44,9 @@ void WebFaviconDriver::CreateForWebState(
|
| if (FromWebState(web_state))
|
| return;
|
|
|
| - web_state->SetUserData(UserDataKey(),
|
| - new WebFaviconDriver(web_state, favicon_service,
|
| - history_service, bookmark_model));
|
| + web_state->SetUserData(UserDataKey(), base::WrapUnique(new WebFaviconDriver(
|
| + web_state, favicon_service,
|
| + history_service, bookmark_model)));
|
| }
|
|
|
| void WebFaviconDriver::FetchFavicon(const GURL& url) {
|
|
|