| Index: content/public/browser/browser_child_process_host_iterator.cc
|
| diff --git a/content/public/browser/browser_child_process_host_iterator.cc b/content/public/browser/browser_child_process_host_iterator.cc
|
| index a2aa0473b6f373d1f918ade89ded861a6f4eebdc..e94775fb26d2a9ce9f31ba9ea427858b6e4d66fb 100644
|
| --- a/content/public/browser/browser_child_process_host_iterator.cc
|
| +++ b/content/public/browser/browser_child_process_host_iterator.cc
|
| @@ -12,15 +12,15 @@ namespace content {
|
|
|
| BrowserChildProcessHostIterator::BrowserChildProcessHostIterator()
|
| : all_(true), process_type_(PROCESS_TYPE_UNKNOWN) {
|
| - CHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)) <<
|
| - "BrowserChildProcessHostIterator must be used on the IO thread.";
|
| + // BrowserChildProcessHostIterator must be used on the IO thread.
|
| + CHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| iterator_ = BrowserChildProcessHostImpl::GetIterator()->begin();
|
| }
|
|
|
| BrowserChildProcessHostIterator::BrowserChildProcessHostIterator(int type)
|
| : all_(false), process_type_(type) {
|
| - CHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)) <<
|
| - "BrowserChildProcessHostIterator must be used on the IO thread.";
|
| + // BrowserChildProcessHostIterator must be used on the IO thread.
|
| + CHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| DCHECK_NE(PROCESS_TYPE_RENDERER, type) <<
|
| "BrowserChildProcessHostIterator doesn't work for renderer processes; "
|
| "try RenderProcessHost::AllHostsIterator() instead.";
|
|
|