Index: content/browser/child_process_launcher.cc |
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc |
index c90475f8576e6b4afd2e2595f6f5c18542c733fe..3809ab542f21b7157133540e5e06df1a6a7df5cd 100644 |
--- a/content/browser/child_process_launcher.cc |
+++ b/content/browser/child_process_launcher.cc |
@@ -164,6 +164,9 @@ void LaunchOnLauncherThread(const NotifyCallback& callback, |
base::ScopedFD mojo_fd(client_handle.release().handle); |
DCHECK(mojo_fd.is_valid()); |
+ int field_trial_handle = base::FieldTrialList::GetFieldTrialHandle(); |
+ if (field_trial_handle != -1) |
Alexei Svitkine (slow)
2016/11/24 18:23:19
Check for the constant.
lawrencewu
2016/11/24 18:48:59
Done.
|
+ files_to_register->Share(field_trial_handle, field_trial_handle); |
#if defined(OS_ANDROID) |
files_to_register->Share(kMojoIPCChannel, mojo_fd.get()); |
#else |