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

Unified Diff: content/common/url_fetcher.cc

Issue 7583053: Add MessageLoopProxy::current (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No need for MessageLoopProxy destruction observer. Created 9 years, 4 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: content/common/url_fetcher.cc
diff --git a/content/common/url_fetcher.cc b/content/common/url_fetcher.cc
index c54c0d7c1fc4def6947c27d1e8f2de7a4a63e99d..7f1f0c354789ef889612b8c8f688fa734fbbe851 100644
--- a/content/common/url_fetcher.cc
+++ b/content/common/url_fetcher.cc
@@ -533,7 +533,7 @@ URLFetcher::Core::Core(URLFetcher* fetcher,
request_type_(request_type),
delegate_(d),
delegate_loop_proxy_(
- base::MessageLoopProxy::CreateForCurrentThread()),
+ base::MessageLoopProxy::current()),
request_(NULL),
load_flags_(net::LOAD_NORMAL),
response_code_(URLFetcher::kInvalidHttpResponseCode),
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc ('k') | content/common/url_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698