Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: content/browser/browser_thread_impl.cc

Issue 13896004: Cleanup various bits of BrowserThreadImpl and PluginServiceImpl. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/browser_child_process_host_impl.cc ('k') | content/browser/plugin_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_thread_impl.cc
===================================================================
--- content/browser/browser_thread_impl.cc (revision 194997)
+++ content/browser/browser_thread_impl.cc (working copy)
@@ -361,8 +361,7 @@
base::AutoLock lock(globals.lock);
DCHECK(identifier >= 0 && identifier < ID_COUNT);
return globals.threads[identifier] &&
- globals.threads[identifier]->message_loop() ==
- MessageLoop::current();
+ globals.threads[identifier]->message_loop() == MessageLoop::current();
}
// static
@@ -450,9 +449,7 @@
// static
scoped_refptr<base::MessageLoopProxy>
BrowserThread::GetMessageLoopProxyForThread(ID identifier) {
- scoped_refptr<base::MessageLoopProxy> proxy(
- new BrowserThreadMessageLoopProxy(identifier));
- return proxy;
+ return make_scoped_refptr(new BrowserThreadMessageLoopProxy(identifier));
}
// static
« no previous file with comments | « content/browser/browser_child_process_host_impl.cc ('k') | content/browser/plugin_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698