Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1274)

Unified Diff: Source/platform/ThreadTimers.cpp

Issue 511333002: Removing "using" declarations that import names in the C++ Standard library.(Source/platform/audio) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/SharedBuffer.cpp ('k') | Source/platform/Timer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
}
« no previous file with comments | « Source/platform/SharedBuffer.cpp ('k') | Source/platform/Timer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698