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

Unified Diff: content/browser/media/media_web_contents_observer.h

Issue 1609923002: Fix remaining incompatibilities between scoped_ptr and unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: content/browser/media/media_web_contents_observer.h
diff --git a/content/browser/media/media_web_contents_observer.h b/content/browser/media/media_web_contents_observer.h
index 452349f4287f3083663e1bf88c2e52ca413b25a5..6752256bcdc5ef1e09abc1746d92467e7900ad9e 100644
--- a/content/browser/media/media_web_contents_observer.h
+++ b/content/browser/media/media_web_contents_observer.h
@@ -40,11 +40,11 @@ class CONTENT_EXPORT MediaWebContentsObserver : public WebContentsObserver {
void WasHidden() override;
bool has_audio_power_save_blocker_for_testing() const {
- return audio_power_save_blocker_;
+ return !!audio_power_save_blocker_;
}
bool has_video_power_save_blocker_for_testing() const {
- return video_power_save_blocker_;
+ return !!video_power_save_blocker_;
}
private:

Powered by Google App Engine
This is Rietveld 408576698