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

Unified Diff: content/common/url_fetcher_unittest.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
« no previous file with comments | « content/common/url_fetcher.cc ('k') | content/renderer/media/capture_video_decoder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/url_fetcher_unittest.cc
diff --git a/content/common/url_fetcher_unittest.cc b/content/common/url_fetcher_unittest.cc
index 3e37f75e035135ea10099bfb2d132b1ec2da597c..398a0cbac8e5e2ee568c52d3aebb5eed1a8ff42b 100644
--- a/content/common/url_fetcher_unittest.cc
+++ b/content/common/url_fetcher_unittest.cc
@@ -95,7 +95,7 @@ class URLFetcherTest : public testing::Test, public URLFetcher::Delegate {
virtual void SetUp() {
testing::Test::SetUp();
- io_message_loop_proxy_ = base::MessageLoopProxy::CreateForCurrentThread();
+ io_message_loop_proxy_ = base::MessageLoopProxy::current();
#if defined(USE_NSS)
crypto::EnsureNSSInit();
« no previous file with comments | « content/common/url_fetcher.cc ('k') | content/renderer/media/capture_video_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698