Index: base/message_loop/incoming_task_queue.cc |
diff --git a/base/message_loop/incoming_task_queue.cc b/base/message_loop/incoming_task_queue.cc |
index 5e9a4613da1cad2a28369aa78b69e87001ad9e9f..06a5b3b66810706ede68cf0d1c5a5075f4f84ed7 100644 |
--- a/base/message_loop/incoming_task_queue.cc |
+++ b/base/message_loop/incoming_task_queue.cc |
@@ -61,17 +61,6 @@ bool IncomingTaskQueue::AddToIncomingQueue( |
AutoLock locked(incoming_queue_lock_); |
PendingTask pending_task( |
from_here, task, CalculateDelayedRuntime(delay), nestable); |
-#if defined(OS_WIN) |
- // We consider the task needs a high resolution timer if the delay is |
- // more than 0 and less than 32ms. This caps the relative error to |
- // less than 50% : a 33ms wait can wake at 48ms since the default |
- // resolution on Windows is between 10 and 15ms. |
- if (delay > TimeDelta() && |
- delay.InMilliseconds() < (2 * Time::kMinLowResolutionThresholdMs)) { |
- ++high_res_task_count_; |
- pending_task.is_high_res = true; |
- } |
-#endif |
return PostPendingTask(&pending_task); |
} |