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 a6261e1fb35e0d0155358fa80038f8a73e0d76ac..cd18f04b3d80419494a9a7dcfd57c966f80093d2 100644 |
--- a/chrome/browser/ui/tabs/tab_utils.cc |
+++ b/chrome/browser/ui/tabs/tab_utils.cc |
@@ -129,7 +129,7 @@ TabMediaState GetTabMediaStateForContents(content::WebContents* contents) { |
scoped_refptr<MediaStreamCaptureIndicator> indicator = |
MediaCaptureDevicesDispatcher::GetInstance()-> |
GetMediaStreamCaptureIndicator(); |
- if (indicator) { |
+ if (indicator.get()) { |
if (indicator->IsBeingMirrored(contents)) |
return TAB_MEDIA_STATE_CAPTURING; |
if (indicator->IsCapturingUserMedia(contents)) |