Index: base/message_loop/message_pump_mac.mm |
diff --git a/base/message_loop/message_pump_mac.mm b/base/message_loop/message_pump_mac.mm |
index 914977b13d59355e1dd566a6453ea4ae4eb69c78..3cda0962790787e18c36408e7f20a437e74f4aa5 100644 |
--- a/base/message_loop/message_pump_mac.mm |
+++ b/base/message_loop/message_pump_mac.mm |
@@ -72,6 +72,9 @@ bool g_not_using_cr_app = false; |
// Call through to CFRunLoopTimerSetTolerance(), which is only available on |
// OS X 10.9. |
void SetTimerTolerance(CFRunLoopTimerRef timer, CFTimeInterval tolerance) { |
+// TODO(jeremy): Temporarily disabled in order to gauge net effect of timer |
+// coalescing. |
+#if 0 |
typedef void (*CFRunLoopTimerSetTolerancePtr)(CFRunLoopTimerRef timer, |
CFTimeInterval tolerance); |
@@ -94,6 +97,7 @@ void SetTimerTolerance(CFRunLoopTimerRef timer, CFTimeInterval tolerance) { |
if (settimertolerance_function_ptr) |
settimertolerance_function_ptr(timer, tolerance); |
+#endif |
} |
} // namespace |