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

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

Bug: 981415
Change-Id: I363f81e8c17cabfb6031666ca0846bcfcbf97b78
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1693602
Commit-Queue: Matt Falkenhagen <[email protected]>
Reviewed-by: Matt Falkenhagen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#676281}
diff --git a/content/renderer/pepper/ppb_graphics_3d_impl.h b/content/renderer/pepper/ppb_graphics_3d_impl.h
index c71abdf..8d94eeb 100644
--- a/content/renderer/pepper/ppb_graphics_3d_impl.h
+++ b/content/renderer/pepper/ppb_graphics_3d_impl.h
@@ -124,7 +124,7 @@
   const bool use_image_chromium_;
   std::unique_ptr<gpu::CommandBufferProxyImpl> command_buffer_;
 
-  base::WeakPtrFactory<PPB_Graphics3D_Impl> weak_ptr_factory_;
+  base::WeakPtrFactory<PPB_Graphics3D_Impl> weak_ptr_factory_{this};
 
   DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Impl);
 };