| Index: remoting/host/audio_capturer_linux.cc
|
| diff --git a/remoting/host/audio_capturer_linux.cc b/remoting/host/audio_capturer_linux.cc
|
| index e98654a0ca96e1e31ba103bb18a577320bf91e08..e56f95334c1e85b7bf87d50de867171eb95b9ddb 100644
|
| --- a/remoting/host/audio_capturer_linux.cc
|
| +++ b/remoting/host/audio_capturer_linux.cc
|
| @@ -79,13 +79,13 @@ void AudioCapturerLinux::OnDataRead(
|
| }
|
|
|
| bool AudioCapturer::IsSupported() {
|
| - return g_pulseaudio_pipe_sink_reader.Get() != NULL;
|
| + return g_pulseaudio_pipe_sink_reader.Get().get() != NULL;
|
| }
|
|
|
| scoped_ptr<AudioCapturer> AudioCapturer::Create() {
|
| scoped_refptr<AudioPipeReader> reader =
|
| g_pulseaudio_pipe_sink_reader.Get();
|
| - if (!reader)
|
| + if (!reader.get())
|
| return scoped_ptr<AudioCapturer>();
|
| return scoped_ptr<AudioCapturer>(new AudioCapturerLinux(reader));
|
| }
|
|
|