summaryrefslogtreecommitdiffstats
path: root/content/browser/histogram_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/histogram_controller.cc')
-rw-r--r--content/browser/histogram_controller.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/browser/histogram_controller.cc b/content/browser/histogram_controller.cc
index 228e67f..54f760b 100644
--- a/content/browser/histogram_controller.cc
+++ b/content/browser/histogram_controller.cc
@@ -12,6 +12,7 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/child_process_data.h"
#include "content/public/browser/render_process_host.h"
+#include "content/public/common/process_type.h"
namespace content {
@@ -71,7 +72,7 @@ void HistogramController::GetHistogramDataFromChildProcesses(
int pending_processes = 0;
for (BrowserChildProcessHostIterator iter; !iter.Done(); ++iter) {
- ProcessType type = iter.GetData().type;
+ int type = iter.GetData().process_type;
if (type != PROCESS_TYPE_PLUGIN && type != PROCESS_TYPE_GPU)
continue;
++pending_processes;