diff options
Diffstat (limited to 'content/renderer')
-rw-r--r-- | content/renderer/renderer_main.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/renderer/renderer_main.cc b/content/renderer/renderer_main.cc index a84a3cb..cba9a31 100644 --- a/content/renderer/renderer_main.cc +++ b/content/renderer/renderer_main.cc @@ -12,6 +12,7 @@ #include "base/metrics/field_trial.h" #include "base/message_loop.h" #include "base/metrics/histogram.h" +#include "base/metrics/statistics_recorder.h" #include "base/metrics/stats_counters.h" #include "base/path_service.h" #include "base/process_util.h" @@ -181,6 +182,9 @@ int RendererMain(const content::MainFunctionParams& parameters) { bool no_sandbox = parsed_command_line.HasSwitch(switches::kNoSandbox); platform.InitSandboxTests(no_sandbox); + // Initialize histogram statistics gathering system. + base::StatisticsRecorder::Initialize(); + // Initialize statistical testing infrastructure. We set client_id to the // empty string to disallow the renderer process from creating its own // one-time randomized trials; they should be created in the browser process. |