Chromium Code Reviews| Index: chrome/browser/ui/tabs/tab_utils.cc |
| diff --git a/chrome/browser/ui/tabs/tab_utils.cc b/chrome/browser/ui/tabs/tab_utils.cc |
| index 93609fe822f8ef7a55997f481f0bb04c00e7072b..5b28bf39c996b8d01e48b5651c14d35551c78687 100644 |
| --- a/chrome/browser/ui/tabs/tab_utils.cc |
| +++ b/chrome/browser/ui/tabs/tab_utils.cc |
| @@ -17,7 +17,7 @@ bool ShouldShowProjectingIndicator(content::WebContents* contents) { |
| int render_view_id = contents->GetRenderViewHost()->GetRoutingID(); |
| scoped_refptr<MediaStreamCaptureIndicator> capture_indicator = |
| MediaInternals::GetInstance()->GetMediaStreamCaptureIndicator(); |
| - return capture_indicator->IsProcessCapturingTab(render_process_id, |
| + return capture_indicator->IsRenderViewMirroring(render_process_id, |
|
justinlin
2013/01/23 19:30:43
Hmm, not sure about this naming change. Isn't it a
miu
2013/01/23 20:33:28
Done. I thought a bit more about the naming here.
|
| render_view_id); |
| } |
| @@ -29,9 +29,9 @@ bool ShouldShowRecordingIndicator(content::WebContents* contents) { |
| // 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. |
| - return capture_indicator->IsProcessCapturing(render_process_id, |
| - render_view_id) || |
| - capture_indicator->IsProcessCapturingTab(render_process_id, |
| + return capture_indicator->IsRenderViewCapturing(render_process_id, |
| + render_view_id) || |
| + capture_indicator->IsRenderViewMirroring(render_process_id, |
| render_view_id); |
| } |