summaryrefslogtreecommitdiffstats
path: root/chromeos/audio/cras_audio_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/audio/cras_audio_handler.cc')
-rw-r--r--chromeos/audio/cras_audio_handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromeos/audio/cras_audio_handler.cc b/chromeos/audio/cras_audio_handler.cc
index 295f280..1907190 100644
--- a/chromeos/audio/cras_audio_handler.cc
+++ b/chromeos/audio/cras_audio_handler.cc
@@ -327,7 +327,6 @@ void CrasAudioHandler::LogErrors() {
CrasAudioHandler::CrasAudioHandler(
scoped_refptr<AudioDevicesPrefHandler> audio_pref_handler)
: audio_pref_handler_(audio_pref_handler),
- weak_ptr_factory_(this),
output_mute_on_(false),
input_mute_on_(false),
output_volume_(0),
@@ -338,7 +337,8 @@ CrasAudioHandler::CrasAudioHandler(
has_alternative_output_(false),
output_mute_locked_(false),
input_mute_locked_(false),
- log_errors_(false) {
+ log_errors_(false),
+ weak_ptr_factory_(this) {
if (!audio_pref_handler.get())
return;
// If the DBusThreadManager or the CrasAudioClient aren't available, there