Index: content/renderer/renderer_main.cc |
diff --git a/content/renderer/renderer_main.cc b/content/renderer/renderer_main.cc |
index dbb0e34b633aec735d58a0f66ee9f3aced38a2ac..2348ad0c50b8ba7633c845460052fd1c578a9991 100644 |
--- a/content/renderer/renderer_main.cc |
+++ b/content/renderer/renderer_main.cc |
@@ -191,8 +191,10 @@ int RendererMain(const MainFunctionParams& parameters) { |
statistics.reset(new base::StatisticsRecorder()); |
} |
- // Initialize statistical testing infrastructure. |
- base::FieldTrialList field_trial; |
+ // Initialize statistical testing infrastructure. We initially set |
+ // client_id to be the empty string, but it will be set via the call to |
+ // |CreateTrialsInChildProcess()| to whatever it was in our parent process. |
+ base::FieldTrialList field_trial(EmptyString()); |
jar (doing other things)
2011/05/03 00:17:47
I'm not sure about this logic now....
The test in
Jói
2011/05/03 17:41:47
I've outlawed persistent trials in the renderer pr
|
// Ensure any field trials in browser are reflected into renderer. |
if (parsed_command_line.HasSwitch(switches::kForceFieldTestNameAndValue)) { |
std::string persistent = parsed_command_line.GetSwitchValueASCII( |