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

Unified Diff: Source/platform/geometry/FloatSize.cpp

Issue 519463002: Removing "using" declarations that import names in the C++ Standard library.(Source/platform/[geome… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebasing 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/geometry/FloatQuad.cpp ('k') | Source/platform/geometry/RoundedRect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/geometry/FloatSize.cpp
diff --git a/Source/platform/geometry/FloatSize.cpp b/Source/platform/geometry/FloatSize.cpp
index f4cfd057388eb221205efb08637f8ab0c91a70a3..2e48b173731139f29834d889635adf5dd8b279fc 100644
--- a/Source/platform/geometry/FloatSize.cpp
+++ b/Source/platform/geometry/FloatSize.cpp
@@ -33,8 +33,6 @@
#include <limits>
#include <math.h>
-using namespace std;
-
namespace blink {
FloatSize::FloatSize(const LayoutSize& size)
@@ -50,7 +48,7 @@ float FloatSize::diagonalLength() const
bool FloatSize::isZero() const
{
- return fabs(m_width) < numeric_limits<float>::epsilon() && fabs(m_height) < numeric_limits<float>::epsilon();
+ return fabs(m_width) < std::numeric_limits<float>::epsilon() && fabs(m_height) < std::numeric_limits<float>::epsilon();
}
bool FloatSize::isExpressibleAsIntSize() const
« no previous file with comments | « Source/platform/geometry/FloatQuad.cpp ('k') | Source/platform/geometry/RoundedRect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698