| Index: chrome/browser/media/media_internals.h
|
| diff --git a/chrome/browser/media/media_internals.h b/chrome/browser/media/media_internals.h
|
| index ab762e45106a9be4f2c093e59f46a54abaeacb64..483865b95e851ba6a6a8907d189ea185f3693dcd 100644
|
| --- a/chrome/browser/media/media_internals.h
|
| +++ b/chrome/browser/media/media_internals.h
|
| @@ -5,7 +5,6 @@
|
| #ifndef CHROME_BROWSER_MEDIA_MEDIA_INTERNALS_H_
|
| #define CHROME_BROWSER_MEDIA_MEDIA_INTERNALS_H_
|
|
|
| -#include "base/memory/ref_counted.h"
|
| #include "base/memory/singleton.h"
|
| #include "base/observer_list.h"
|
| #include "base/values.h"
|
| @@ -62,6 +61,10 @@ class MediaInternals : public content::MediaObserver {
|
| void RemoveObserver(MediaInternalsObserver* observer);
|
| void SendEverything();
|
|
|
| + MediaStreamCaptureIndicator* media_stream_capture_indicator() {
|
| + return media_stream_capture_indicator_.get();
|
| + }
|
| +
|
| private:
|
| friend class MediaInternalsTest;
|
| friend struct DefaultSingletonTraits<MediaInternals>;
|
| @@ -87,7 +90,7 @@ class MediaInternals : public content::MediaObserver {
|
|
|
| DictionaryValue data_;
|
| ObserverList<MediaInternalsObserver> observers_;
|
| - scoped_refptr<MediaStreamCaptureIndicator> media_stream_capture_indicator_;
|
| + scoped_ptr<MediaStreamCaptureIndicator> media_stream_capture_indicator_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(MediaInternals);
|
| };
|
|
|