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

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

Issue 2371723002: Power Save Blocker: Eliminate passing ViewAndroid as WeakPtr (Closed)
Patch Set: Rebase Created 4 years, 3 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 4f55dce27043416fbd0e65664b4c2c85427e6bf3..5d6d8d2f5ff92d2f54f53bafcd1e03aa7642cab7 100644
--- a/content/browser/media/media_web_contents_observer.h
+++ b/content/browser/media/media_web_contents_observer.h
@@ -106,9 +106,6 @@ class CONTENT_EXPORT MediaWebContentsObserver : public WebContentsObserver {
ActiveMediaPlayerMap active_video_players_;
std::unique_ptr<device::PowerSaveBlocker> audio_power_save_blocker_;
std::unique_ptr<device::PowerSaveBlocker> video_power_save_blocker_;
-#if defined(OS_ANDROID)
- std::unique_ptr<base::WeakPtrFactory<ui::ViewAndroid>> view_weak_factory_;
-#endif
MediaSessionControllersManager session_controllers_manager_;
« no previous file with comments | « content/browser/devtools/render_frame_devtools_agent_host.cc ('k') | content/browser/media/media_web_contents_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698