Use in-class initializers for base::WeakPtrFactory (all remaining uses on Linux desktop).

Changed NULL to nullptr where the presubmit complained (due to new line wrapping).

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

Bug: 981415
Tbr: [email protected],[email protected],[email protected]
Change-Id: Icd574b69f75ead6dc6f34e7b4edcd52a53830640
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1702744
Reviewed-by: Jeremy Roman <[email protected]>
Reviewed-by: Mihai Sardarescu <[email protected]>
Reviewed-by: Raymes Khoury <[email protected]>
Reviewed-by: Gabriel Charette <[email protected]>
Reviewed-by: Sergey Ulanov <[email protected]>
Reviewed-by: Yuwei Huang <[email protected]>
Reviewed-by: Reilly Grant <[email protected]>
Reviewed-by: Ken Rockot <[email protected]>
Reviewed-by: Marc Treib <[email protected]>
Reviewed-by: Rayan Kanso <[email protected]>
Reviewed-by: Victor Costan <[email protected]>
Reviewed-by: Ryo Hashimoto <[email protected]>
Reviewed-by: Tom Sepez <[email protected]>
Commit-Queue: Jeremy Roman <[email protected]>
Cr-Commit-Position: refs/heads/master@{#686003}
diff --git a/remoting/protocol/audio_decode_scheduler.cc b/remoting/protocol/audio_decode_scheduler.cc
index 5240dac..6685d55 100644
--- a/remoting/protocol/audio_decode_scheduler.cc
+++ b/remoting/protocol/audio_decode_scheduler.cc
@@ -21,8 +21,7 @@
     scoped_refptr<base::SingleThreadTaskRunner> audio_decode_task_runner,
     base::WeakPtr<protocol::AudioStub> audio_consumer)
     : audio_decode_task_runner_(audio_decode_task_runner),
-      audio_consumer_(audio_consumer),
-      weak_factory_(this) {}
+      audio_consumer_(audio_consumer) {}
 
 AudioDecodeScheduler::~AudioDecodeScheduler() {
   DCHECK(thread_checker_.CalledOnValidThread());