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/render_thread_impl.h b/content/renderer/render_thread_impl.h index f4e04fa..c02382e1 100644 --- a/content/renderer/render_thread_impl.h +++ b/content/renderer/render_thread_impl.h
@@ -738,7 +738,7 @@ base::TimeTicks init_start_; base::TimeTicks init_end_; - base::WeakPtrFactory<RenderThreadImpl> weak_factory_; + base::WeakPtrFactory<RenderThreadImpl> weak_factory_{this}; DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); };