Index: net/dns/serial_worker.cc |
diff --git a/net/dns/serial_worker.cc b/net/dns/serial_worker.cc |
index 394721c1a6564aeac5491c036c09ea9ab10be11c..4da7df98ba2d878b4f694a5fca60c0a46d5d0313 100644 |
--- a/net/dns/serial_worker.cc |
+++ b/net/dns/serial_worker.cc |
@@ -11,11 +11,6 @@ |
namespace net { |
-namespace { |
- // Delay between calls to WorkerPool::PostTask |
- const int kWorkerPoolRetryDelayMs = 100; |
-} |
- |
SerialWorker::SerialWorker() |
: message_loop_(base::MessageLoopProxy::current()), |
state_(IDLE) {} |
@@ -33,6 +28,7 @@ void SerialWorker::WorkNow() { |
NOTREACHED() << "WorkerPool::PostTask is not expected to fail on posix"; |
#else |
LOG(WARNING) << "Failed to WorkerPool::PostTask, will retry later"; |
+ const int kWorkerPoolRetryDelayMs = 100; |
message_loop_->PostDelayedTask( |
FROM_HERE, |
base::Bind(&SerialWorker::RetryWork, this), |