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

Unified Diff: chrome/browser/net/connection_tester.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/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
Index: chrome/browser/net/connection_tester.cc
diff --git a/chrome/browser/net/connection_tester.cc b/chrome/browser/net/connection_tester.cc
index 3e93aae256e6e14d1968a09eed6d1c93268e593d..04a3b2534ab35431727f000835a6f85a0760e795 100644
--- a/chrome/browser/net/connection_tester.cc
+++ b/chrome/browser/net/connection_tester.cc
@@ -393,10 +393,11 @@ void ConnectionTester::TestRunner::OnResponseCompleted(
// Post a task to notify the parent rather than handling it right away,
// to avoid re-entrancy problems with URLRequest. (Don't want the caller
// to end up deleting the URLRequest while in the middle of processing).
- MessageLoop::current()->PostTask(
+ base::MessageLoop::current()->PostTask(
FROM_HERE,
base::Bind(&TestRunner::OnExperimentCompletedWithResult,
- weak_factory_.GetWeakPtr(), result));
+ weak_factory_.GetWeakPtr(),
+ result));
}
void ConnectionTester::TestRunner::OnExperimentCompletedWithResult(int result) {

Powered by Google App Engine
This is Rietveld 408576698