summaryrefslogtreecommitdiffstats
path: root/rlz/lib/financial_ping.cc
diff options
context:
space:
mode:
Diffstat (limited to 'rlz/lib/financial_ping.cc')
-rw-r--r--rlz/lib/financial_ping.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/rlz/lib/financial_ping.cc b/rlz/lib/financial_ping.cc
index 9b7e319..9abbd80 100644
--- a/rlz/lib/financial_ping.cc
+++ b/rlz/lib/financial_ping.cc
@@ -297,10 +297,11 @@ bool FinancialPing::PingServer(const char* request, std::string* response) {
fetcher->SetRequestContext(g_context);
const base::TimeDelta kTimeout = base::TimeDelta::FromMinutes(5);
+ MessageLoop::ScopedNestableTaskAllower allow_nested(MessageLoop::current());
MessageLoop::current()->PostTask(
FROM_HERE,
base::Bind(&net::URLFetcher::Start, base::Unretained(fetcher.get())));
- MessageLoop::current()->PostNonNestableDelayedTask(
+ MessageLoop::current()->PostDelayedTask(
FROM_HERE, loop.QuitClosure(), kTimeout);
loop.Run();