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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 2382103002: media: Add GpuMojoMediaClient. (Closed)
Patch Set: 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/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index b6112200bdb1215e7ff62991677e305fae4e50c3..e7ebdb20795800d1be3ec752bb83395db2fb7e19 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -362,7 +362,8 @@ void GpuChildThread::OnInitialize(const gpu::GpuPreferences& gpu_preferences) {
media_service_.reset(new media::MediaService(gpu_channel_manager_.get()));
// Only set once per process instance.
- service_factory_.reset(new GpuServiceFactory);
+ service_factory_.reset(new GpuServiceFactory(
+ base::ThreadTaskRunnerHandle::Get(), media_service_.get()));
GetInterfaceRegistry()->AddInterface(base::Bind(
&GpuChildThread::BindServiceFactoryRequest, base::Unretained(this)));
« no previous file with comments | « no previous file | content/gpu/gpu_service_factory.h » ('j') | media/mojo/services/mojo_media_application_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698