Index: chrome/browser/extensions/process_management_browsertest.cc |
diff --git a/chrome/browser/extensions/process_management_browsertest.cc b/chrome/browser/extensions/process_management_browsertest.cc |
index 6e1318960ca163045b8ee53571a6269d94c4d031..75a4c828d2003001708f455de5f0e5d060d36583 100644 |
--- a/chrome/browser/extensions/process_management_browsertest.cc |
+++ b/chrome/browser/extensions/process_management_browsertest.cc |
@@ -215,8 +215,9 @@ IN_PROC_BROWSER_TEST_F(ProcessManagementTest, ExtensionProcessBalancing) { |
Profile* profile = browser()->GetProfile(); |
ExtensionProcessManager* epm = profile->GetExtensionProcessManager(); |
- for (ExtensionProcessManager::const_iterator iter = epm->begin(); |
- iter != epm->end(); |
+ for (ExtensionProcessManager::const_iterator iter = |
+ epm->background_hosts().begin(); |
+ iter != epm->background_hosts().end(); |
++iter) { |
ExtensionHost* host = *iter; |
if (host->extension()->has_background_page()) { |