Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Unified Diff: chrome/browser/ui/tabs/tab_utils.cc

Issue 505913002: Remove implicit conversions from scoped_refptr to T* in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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))

Powered by Google App Engine
This is Rietveld 408576698