| Index: chrome/browser/ui/tabs/tab_utils.cc
|
| ===================================================================
|
| --- chrome/browser/ui/tabs/tab_utils.cc (revision 179909)
|
| +++ chrome/browser/ui/tabs/tab_utils.cc (working copy)
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "chrome/browser/ui/tabs/tab_utils.h"
|
|
|
| -#include "chrome/browser/media/media_internals.h"
|
| +#include "chrome/browser/media/media_capture_devices_dispatcher.h"
|
| #include "chrome/browser/media/media_stream_capture_indicator.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "content/public/browser/render_view_host.h"
|
| @@ -16,7 +16,8 @@
|
| int render_process_id = contents->GetRenderProcessHost()->GetID();
|
| int render_view_id = contents->GetRenderViewHost()->GetRoutingID();
|
| scoped_refptr<MediaStreamCaptureIndicator> indicator =
|
| - MediaInternals::GetInstance()->GetMediaStreamCaptureIndicator();
|
| + MediaCaptureDevicesDispatcher::GetInstance()->
|
| + GetMediaStreamCaptureIndicator();
|
| return indicator->IsBeingMirrored(render_process_id, render_view_id);
|
| }
|
|
|
| @@ -24,7 +25,8 @@
|
| int render_process_id = contents->GetRenderProcessHost()->GetID();
|
| int render_view_id = contents->GetRenderViewHost()->GetRoutingID();
|
| scoped_refptr<MediaStreamCaptureIndicator> indicator =
|
| - MediaInternals::GetInstance()->GetMediaStreamCaptureIndicator();
|
| + MediaCaptureDevicesDispatcher::GetInstance()->
|
| + GetMediaStreamCaptureIndicator();
|
| // The projecting indicator takes precedence over the recording indicator, but
|
| // if we are projecting and we don't handle the projecting case we want to
|
| // still show the recording indicator.
|
|
|