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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/page_cycler/page_cycler_test.cc b/chrome/test/page_cycler/page_cycler_test.cc
index 31fe4ba..e021563 100644
--- a/chrome/test/page_cycler/page_cycler_test.cc
+++ b/chrome/test/page_cycler/page_cycler_test.cc
@@ -233,7 +233,7 @@ class PageCyclerTest : public UITest {
ChromeProcessList::const_iterator it;
for (it = chrome_processes.begin(); it != chrome_processes.end(); ++it) {
base::ProcessHandle process_handle;
- if (!base::OpenProcessHandle(*it, &process_handle)) {
+ if (!base::OpenPrivilegedProcessHandle(*it, &process_handle)) {
NOTREACHED();
}
@@ -303,7 +303,7 @@ class PageCyclerTest : public UITest {
ChromeProcessList::const_iterator it;
for (it = chrome_processes.begin(); it != chrome_processes.end(); ++it) {
base::ProcessHandle process_handle;
- if (!base::OpenProcessHandle(*it, &process_handle)) {
+ if (!base::OpenPrivilegedProcessHandle(*it, &process_handle)) {
NOTREACHED();
}