diff options
Diffstat (limited to 'chrome/browser/browser_thread.cc')
-rw-r--r-- | chrome/browser/browser_thread.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser_thread.cc b/chrome/browser/browser_thread.cc index 35c1308..7ba53e0 100644 --- a/chrome/browser/browser_thread.cc +++ b/chrome/browser/browser_thread.cc @@ -95,7 +95,7 @@ BrowserThread::~BrowserThread() { AutoLock lock(lock_); browser_threads_[identifier_] = NULL; #ifndef NDEBUG - // Double check that the threads are ordererd correctly in the enumeration. + // Double check that the threads are ordered correctly in the enumeration. for (int i = identifier_ + 1; i < ID_COUNT; ++i) { DCHECK(!browser_threads_[i]) << "Threads must be listed in the reverse order that they die"; @@ -176,8 +176,8 @@ bool BrowserThread::GetCurrentThreadIdentifier(ID* identifier) { scoped_refptr<base::MessageLoopProxy> BrowserThread::GetMessageLoopProxyForThread( ID identifier) { - scoped_refptr<base::MessageLoopProxy> proxy = - new BrowserThreadMessageLoopProxy(identifier); + scoped_refptr<base::MessageLoopProxy> proxy( + new BrowserThreadMessageLoopProxy(identifier)); return proxy; } |