| Index: components/precache/core/precache_fetcher.cc
|
| diff --git a/components/precache/core/precache_fetcher.cc b/components/precache/core/precache_fetcher.cc
|
| index 0bc2e1b2b40cb1e2c17a5bfdf84000c00aec1a08..e84c4d5f5a7aecef5a95192dea10fdfcbf28af61 100644
|
| --- a/components/precache/core/precache_fetcher.cc
|
| +++ b/components/precache/core/precache_fetcher.cc
|
| @@ -486,12 +486,12 @@ std::unique_ptr<PrecacheUnfinishedWork> PrecacheFetcher::CancelPrecaching() {
|
| unfinished_work_->add_top_host()->set_hostname(top_host.hostname);
|
| }
|
| for (const auto& resource : resources_fetching_) {
|
| - auto new_resource = unfinished_work_->add_resource();
|
| + auto* new_resource = unfinished_work_->add_resource();
|
| new_resource->set_url(resource.url.spec());
|
| new_resource->set_top_host_name(resource.referrer);
|
| }
|
| for (const auto& resource : resources_to_fetch_) {
|
| - auto new_resource = unfinished_work_->add_resource();
|
| + auto* new_resource = unfinished_work_->add_resource();
|
| new_resource->set_url(resource.url.spec());
|
| new_resource->set_top_host_name(resource.referrer);
|
| }
|
|
|