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

Unified Diff: chromecast/browser/cast_content_browser_client.h

Issue 2784433002: Ensures that audio tasks cannot run after AudioManager is deleted. (Closed)
Patch Set: rebase Created 3 years, 7 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
« no previous file with comments | « no previous file | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_content_browser_client.h
diff --git a/chromecast/browser/cast_content_browser_client.h b/chromecast/browser/cast_content_browser_client.h
index 4bf181e51cebe24dcd1c76ad572f551c04337081..cfa48928924e5548801c973905186836500caed2 100644
--- a/chromecast/browser/cast_content_browser_client.h
+++ b/chromecast/browser/cast_content_browser_client.h
@@ -100,7 +100,7 @@ class CastContentBrowserClient : public content::ContentBrowserClient {
media::MediaPipelineBackendManager* media_pipeline_backend_manager();
- ::media::ScopedAudioManagerPtr CreateAudioManager(
+ std::unique_ptr<::media::AudioManager> CreateAudioManager(
::media::AudioLogFactory* audio_log_factory) override;
std::unique_ptr<::media::CdmFactory> CreateCdmFactory() override;
#endif // BUILDFLAG(IS_CAST_USING_CMA_BACKEND)
« no previous file with comments | « no previous file | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698