summaryrefslogtreecommitdiffstats
path: root/content/browser/content_ipc_logging.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/content_ipc_logging.cc')
-rw-r--r--content/browser/content_ipc_logging.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/browser/content_ipc_logging.cc b/content/browser/content_ipc_logging.cc
index 4c9e8ea..45b7a2e 100644
--- a/content/browser/content_ipc_logging.cc
+++ b/content/browser/content_ipc_logging.cc
@@ -7,6 +7,7 @@
#include "base/bind.h"
#include "content/browser/browser_child_process_host.h"
#include "content/common/child_process_messages.h"
+#include "content/public/browser/browser_child_process_host_iterator.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_process_host.h"
#include "ipc/ipc_logging.h"
@@ -18,9 +19,9 @@ namespace content {
void EnableIPCLoggingForChildProcesses(bool enabled) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- BrowserChildProcessHost::Iterator i; // default constr references a singleton
+ BrowserChildProcessHostIterator i; // default constr references a singleton
while (!i.Done()) {
- i->Send(new ChildProcessMsg_SetIPCLoggingEnabled(enabled));
+ i.Send(new ChildProcessMsg_SetIPCLoggingEnabled(enabled));
++i;
}
}