summaryrefslogtreecommitdiffstats
path: root/chromeos/audio/cras_audio_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/audio/cras_audio_handler.h')
-rw-r--r--chromeos/audio/cras_audio_handler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromeos/audio/cras_audio_handler.h b/chromeos/audio/cras_audio_handler.h
index 9935963..92850b1 100644
--- a/chromeos/audio/cras_audio_handler.h
+++ b/chromeos/audio/cras_audio_handler.h
@@ -255,7 +255,6 @@ class CHROMEOS_EXPORT CrasAudioHandler : public CrasAudioClient::Observer,
AudioDevice GetSanitizedAudioDevice(const AudioNode& node);
scoped_refptr<AudioDevicesPrefHandler> audio_pref_handler_;
- base::WeakPtrFactory<CrasAudioHandler> weak_ptr_factory_;
ObserverList<AudioObserver> observers_;
// Audio data and state.
@@ -279,6 +278,8 @@ class CHROMEOS_EXPORT CrasAudioHandler : public CrasAudioClient::Observer,
// Failures are not logged at startup, since CRAS may not be running yet.
bool log_errors_;
+ base::WeakPtrFactory<CrasAudioHandler> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(CrasAudioHandler);
};