summaryrefslogtreecommitdiffstats
path: root/chrome/test/page_cycler/page_cycler_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/page_cycler/page_cycler_test.cc')
-rw-r--r--chrome/test/page_cycler/page_cycler_test.cc14
1 files changed, 4 insertions, 10 deletions
diff --git a/chrome/test/page_cycler/page_cycler_test.cc b/chrome/test/page_cycler/page_cycler_test.cc
index 172655d..471a581 100644
--- a/chrome/test/page_cycler/page_cycler_test.cc
+++ b/chrome/test/page_cycler/page_cycler_test.cc
@@ -246,11 +246,8 @@ class PageCyclerTest : public UITest {
return;
size_t stop_size = base::GetSystemCommitCharge();
- FilePath data_dir;
- PathService::Get(chrome::DIR_USER_DATA, &data_dir);
-
- PrintMemoryUsageInfo(suffix, data_dir);
- PrintIOPerfInfo(suffix, data_dir);
+ PrintMemoryUsageInfo(suffix);
+ PrintIOPerfInfo(suffix);
PrintSystemCommitCharge(suffix, stop_size - start_size,
false /* not important */);
@@ -297,11 +294,8 @@ class PageCyclerReferenceTest : public PageCyclerTest {
return;
size_t stop_size = base::GetSystemCommitCharge();
- FilePath data_dir;
- PathService::Get(chrome::DIR_USER_DATA, &data_dir);
-
- PrintMemoryUsageInfo("_ref", data_dir);
- PrintIOPerfInfo("_ref", data_dir);
+ PrintMemoryUsageInfo("_ref");
+ PrintIOPerfInfo("_ref");
PrintSystemCommitCharge("_ref", stop_size - start_size,
false /* not important */);