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

Unified Diff: net/disk_cache/disk_cache_test_util.cc

Issue 7812036: Update base/timer.h code to pass through Location from call sites. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: net/disk_cache/disk_cache_test_util.cc
diff --git a/net/disk_cache/disk_cache_test_util.cc b/net/disk_cache/disk_cache_test_util.cc
index 054a41e2ce36f4f34d42faef8c97958104b433f8..bf2e7306cee95d4f764aac4dae7eb6999ebe42b4 100644
--- a/net/disk_cache/disk_cache_test_util.cc
+++ b/net/disk_cache/disk_cache_test_util.cc
@@ -142,7 +142,7 @@ bool MessageLoopHelper::WaitUntilCacheIoFinished(int num_callbacks) {
// Create a recurrent timer of 50 mS.
if (!timer_.IsRunning())
timer_.Start(TimeDelta::FromMilliseconds(50), this,
- &MessageLoopHelper::TimerExpired);
+ &MessageLoopHelper::TimerExpired, FROM_HERE);
MessageLoop::current()->Run();
return completed_;
}
« base/timer.h ('K') | « net/disk_cache/backend_impl.cc ('k') | net/dns/dns_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698