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

Unified Diff: Source/core/svg/animation/SMILTimeContainer.cpp

Issue 330933002: Revert of Removing "using" declarations that import names in the C++ Standard library. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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/core/page/TouchDisambiguation.cpp ('k') | Source/core/svg/animation/SVGSMILElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/animation/SMILTimeContainer.cpp
diff --git a/Source/core/svg/animation/SMILTimeContainer.cpp b/Source/core/svg/animation/SMILTimeContainer.cpp
index be1fb7e3e23341655a5e746537407e88d7503346..8f3f12ec7bc0c8991fae839b9a38a903bad451ce 100644
--- a/Source/core/svg/animation/SMILTimeContainer.cpp
+++ b/Source/core/svg/animation/SMILTimeContainer.cpp
@@ -33,6 +33,8 @@
#include "core/svg/SVGSVGElement.h"
#include "core/svg/animation/SVGSMILElement.h"
+using namespace std;
+
namespace WebCore {
static const double initialFrameDelay = 0.025;
@@ -421,7 +423,7 @@
SMILTime nextFireTime = animation->nextProgressTime();
if (nextFireTime.isFinite())
- earliestFireTime = std::min(nextFireTime, earliestFireTime);
+ earliestFireTime = min(nextFireTime, earliestFireTime);
}
if (resultElement)
« no previous file with comments | « Source/core/page/TouchDisambiguation.cpp ('k') | Source/core/svg/animation/SVGSMILElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698