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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 2382103002: media: Add GpuMojoMediaClient. (Closed)
Patch Set: Add GpuMojoMediaClient. Created 4 years, 1 month 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 | content/gpu/gpu_service_factory.h » ('j') | content/gpu/gpu_service_factory.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index 994caed88c3cc88072e544cbbac1564c6ba2b8c9..1ff57f04cfee1e824f9a9e83b7630d7a766a8ccc 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -359,7 +359,8 @@ void GpuChildThread::OnInitialize(const gpu::GpuPreferences& gpu_preferences) {
new media::MediaGpuChannelManager(gpu_channel_manager_.get()));
// Only set once per process instance.
- service_factory_.reset(new GpuServiceFactory);
+ service_factory_.reset(new GpuServiceFactory(
+ media_gpu_channel_manager_.get()));
xhwang 2016/11/23 06:58:03 service_factory_ should be destroyed before media_
sandersd (OOO until July 31) 2016/11/23 21:21:02 This is actually safe due to the details of how th
GetInterfaceRegistry()->AddInterface(base::Bind(
&GpuChildThread::BindServiceFactoryRequest, base::Unretained(this)));
« no previous file with comments | « no previous file | content/gpu/gpu_service_factory.h » ('j') | content/gpu/gpu_service_factory.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698