Index: content/gpu/gpu_child_thread.cc |
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc |
index cc97e948cf2febe7cadb8da5c8e0296378be4668..9d0e7ccc7113cb6c238a96102dc2699104f4b922 100644 |
--- a/content/gpu/gpu_child_thread.cc |
+++ b/content/gpu/gpu_child_thread.cc |
@@ -239,8 +239,15 @@ void GpuChildThread::Init(const base::Time& process_start_time) { |
service_registry()->AddService(base::Bind( |
&GpuChildThread::BindProcessControlRequest, base::Unretained(this))); |
- if (GetContentClient()->gpu()) // NULL in tests. |
+ if (GetContentClient()->gpu()) { // NULL in tests. |
+ GetContentClient()->gpu()->Initialize(this); |
GetContentClient()->gpu()->RegisterMojoServices(service_registry()); |
+ } |
+} |
+ |
+void GpuChildThread::OnFieldTrialGroupFinalized(const std::string& trial_name, |
+ const std::string& group_name) { |
+ Send(new GpuHostMsg_FieldTrialActivated(trial_name)); |
} |
bool GpuChildThread::Send(IPC::Message* msg) { |