Use in-class initializers for base::WeakPtrFactory in components/.

Generated by: https://chromium-review.googlesource.com/c/chromium/src/+/1689216

Bug: 981415
Change-Id: I706ec55f1f533ef616f400791d69a51e9a151da1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1699508
Commit-Queue: Jeremy Roman <[email protected]>
Reviewed-by: Colin Blundell <[email protected]>
Cr-Commit-Position: refs/heads/master@{#677340}
diff --git a/components/ntp_tiles/icon_cacher_impl.h b/components/ntp_tiles/icon_cacher_impl.h
index 25d2deb6..930716a 100644
--- a/components/ntp_tiles/icon_cacher_impl.h
+++ b/components/ntp_tiles/icon_cacher_impl.h
@@ -100,7 +100,7 @@
   std::unique_ptr<image_fetcher::ImageFetcher> const image_fetcher_;
   std::map<GURL, std::vector<base::Closure>> in_flight_requests_;
 
-  base::WeakPtrFactory<IconCacherImpl> weak_ptr_factory_;
+  base::WeakPtrFactory<IconCacherImpl> weak_ptr_factory_{this};
 
   DISALLOW_COPY_AND_ASSIGN(IconCacherImpl);
 };