Index: content/gpu/gpu_child_thread.cc |
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc |
index 637b4802f198153f6e398699538b81439ebdf867..0da00b1f53c252b6faea95403f81ef88539e42bf 100644 |
--- a/content/gpu/gpu_child_thread.cc |
+++ b/content/gpu/gpu_child_thread.cc |
@@ -209,6 +209,8 @@ void GpuChildThread::Init(const base::Time& process_start_time) { |
if (GetContentClient()->gpu()) // NULL in tests. |
GetContentClient()->gpu()->Initialize(this); |
+ channel()->AddAssociatedInterface(base::Bind( |
+ &GpuChildThread::CreateGpuMainService, base::Unretained(this))); |
} |
void GpuChildThread::OnFieldTrialGroupFinalized(const std::string& trial_name, |
@@ -216,6 +218,11 @@ void GpuChildThread::OnFieldTrialGroupFinalized(const std::string& trial_name, |
Send(new GpuHostMsg_FieldTrialActivated(trial_name)); |
} |
+void GpuChildThread::CreateGpuMainService( |
+ ui::mojom::GpuMainAssociatedRequest request) { |
+ // TODO(sad): Implement. |
+} |
+ |
bool GpuChildThread::Send(IPC::Message* msg) { |
// The GPU process must never send a synchronous IPC message to the browser |
// process. This could result in deadlock. |