commit | 3bca4bf82074cdf006a9544d9d8ba5c8e4ad4ff8 | [log] [tgz] |
---|---|---|
author | Jeremy Roman <[email protected]> | Thu Jul 11 03:41:25 2019 |
committer | Commit Bot <[email protected]> | Thu Jul 11 03:41:25 2019 |
tree | 78bfc07404185f64a7c0a9d58f461cd7cb6f93a6 | |
parent | 40adcdf3f8f7dc8609f3455dd720dc961f9cd0e5 [diff] [blame] |
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); };