Index: Source/core/frame/LocalFrame.cpp |
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
index 93cbd21748652acd0f570ff6c3d29431a2fcefaa..a78ad7a30f2e82044f157a6f61568411b7a40c45 100644 |
--- a/Source/core/frame/LocalFrame.cpp |
+++ b/Source/core/frame/LocalFrame.cpp |
@@ -66,8 +66,6 @@ |
#include "wtf/PassOwnPtr.h" |
#include "wtf/StdLibExtras.h" |
-using namespace std; |
- |
namespace WebCore { |
using namespace HTMLNames; |
@@ -225,12 +223,12 @@ FloatSize LocalFrame::resizePageRectsKeepingRatio(const FloatSize& originalSize, |
return FloatSize(); |
if (contentRenderer()->style()->isHorizontalWritingMode()) { |
- ASSERT(fabs(originalSize.width()) > numeric_limits<float>::epsilon()); |
+ ASSERT(fabs(originalSize.width()) > std::numeric_limits<float>::epsilon()); |
float ratio = originalSize.height() / originalSize.width(); |
resultSize.setWidth(floorf(expectedSize.width())); |
resultSize.setHeight(floorf(resultSize.width() * ratio)); |
} else { |
- ASSERT(fabs(originalSize.height()) > numeric_limits<float>::epsilon()); |
+ ASSERT(fabs(originalSize.height()) > std::numeric_limits<float>::epsilon()); |
float ratio = originalSize.width() / originalSize.height(); |
resultSize.setHeight(floorf(expectedSize.height())); |
resultSize.setWidth(floorf(resultSize.height() * ratio)); |