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

Unified Diff: chrome/browser/automation/automation_profile_impl.cc

Issue 342020: First of several patches to get rid of MessageLoop caching now that we have C... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
Index: chrome/browser/automation/automation_profile_impl.cc
===================================================================
--- chrome/browser/automation/automation_profile_impl.cc (revision 30289)
+++ chrome/browser/automation/automation_profile_impl.cc (working copy)
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "chrome/browser/automation/automation_profile_impl.h"
+#include "chrome/browser/chrome_thread.h"
#include "chrome/browser/net/chrome_url_request_context.h"
#include "chrome/test/automation/automation_messages.h"
@@ -149,8 +150,7 @@
context->CleanupOnUIThread();
// Clean up request context on IO thread.
- g_browser_process->io_thread()->message_loop()->ReleaseSoon(FROM_HERE,
- context);
+ ChromeThread::ReleaseSoon(ChromeThread::IO, FROM_HERE, context);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698