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

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

Bug: 981415
Change-Id: I8b3e41ce53df33f8fc201e175a65cae3a9e07669
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1691082
Reviewed-by: Eric Roman <[email protected]>
Commit-Queue: Jeremy Roman <[email protected]>
Cr-Commit-Position: refs/heads/master@{#675307}
diff --git a/net/quic/quic_http_stream.h b/net/quic/quic_http_stream.h
index babc2a1..0440c76 100644
--- a/net/quic/quic_http_stream.h
+++ b/net/quic/quic_http_stream.h
@@ -218,7 +218,7 @@
   // Session connect timing info.
   LoadTimingInfo::ConnectTiming connect_timing_;
 
-  base::WeakPtrFactory<QuicHttpStream> weak_factory_;
+  base::WeakPtrFactory<QuicHttpStream> weak_factory_{this};
 
   DISALLOW_COPY_AND_ASSIGN(QuicHttpStream);
 };