| Index: media/cast/cast_environment.h
|
| diff --git a/media/cast/cast_environment.h b/media/cast/cast_environment.h
|
| index 1549747ee2237631256bf870ea3e382254e4fca3..d3c9474fa3f54eff7704699d79715dbf57a3c53c 100644
|
| --- a/media/cast/cast_environment.h
|
| +++ b/media/cast/cast_environment.h
|
| @@ -64,13 +64,9 @@ class CastEnvironment : public base::RefCountedThreadSafe<CastEnvironment> {
|
| scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner(
|
| ThreadId identifier) const;
|
|
|
| - bool HasAudioThread() {
|
| - return audio_thread_proxy_ ? true : false;
|
| - }
|
| + bool HasAudioThread() { return audio_thread_proxy_.get() ? true : false; }
|
|
|
| - bool HasVideoThread() {
|
| - return video_thread_proxy_ ? true : false;
|
| - }
|
| + bool HasVideoThread() { return video_thread_proxy_.get() ? true : false; }
|
|
|
| protected:
|
| virtual ~CastEnvironment();
|
|
|