summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/ui_perf_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/ui/ui_perf_test.cc')
-rw-r--r--chrome/test/ui/ui_perf_test.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/test/ui/ui_perf_test.cc b/chrome/test/ui/ui_perf_test.cc
index c234abf..a8b7ca1 100644
--- a/chrome/test/ui/ui_perf_test.cc
+++ b/chrome/test/ui/ui_perf_test.cc
@@ -67,7 +67,8 @@ void UIPerfTest::PrintResultsImpl(const std::string& measurement,
}
void UIPerfTest::PrintIOPerfInfo(const char* test_name) {
- ChromeProcessList chrome_processes(GetRunningChromeProcesses(process_id_));
+ ChromeProcessList chrome_processes(
+ GetRunningChromeProcesses(browser_process_id()));
size_t read_op_b = 0;
size_t read_op_r = 0;
@@ -173,7 +174,8 @@ void UIPerfTest::PrintIOPerfInfo(const char* test_name) {
}
void UIPerfTest::PrintMemoryUsageInfo(const char* test_name) {
- ChromeProcessList chrome_processes(GetRunningChromeProcesses(process_id_));
+ ChromeProcessList chrome_processes(
+ GetRunningChromeProcesses(browser_process_id()));
size_t browser_virtual_size = 0;
size_t browser_working_set_size = 0;