Index: Source/platform/ThreadTimers.cpp |
diff --git a/Source/platform/ThreadTimers.cpp b/Source/platform/ThreadTimers.cpp |
index 5be280a25ace2806701005b539162207e6c08029..0cc2ac15b644033a6f2d56c7ae000c1778b37fa6 100644 |
--- a/Source/platform/ThreadTimers.cpp |
+++ b/Source/platform/ThreadTimers.cpp |
@@ -35,8 +35,6 @@ |
#include "wtf/CurrentTime.h" |
#include "wtf/MainThread.h" |
-using namespace std; |
- |
namespace blink { |
// Fire timers for this length of time, and then quit to let the run loop process user input events. |
@@ -97,7 +95,7 @@ void ThreadTimers::updateSharedTimer() |
return; |
} |
m_pendingSharedTimerFireTime = nextFireTime; |
- m_sharedTimer->setFireInterval(max(nextFireTime - currentMonotonicTime, 0.0)); |
+ m_sharedTimer->setFireInterval(std::max(nextFireTime - currentMonotonicTime, 0.0)); |
} |
} |