Index: Source/platform/graphics/gpu/DrawingBuffer.cpp |
diff --git a/Source/platform/graphics/gpu/DrawingBuffer.cpp b/Source/platform/graphics/gpu/DrawingBuffer.cpp |
index 6565b74ac0bcbb8b37e18cc0014e848cc7de13cc..f82960d498e68070033272f1df00780b93e59668 100644 |
--- a/Source/platform/graphics/gpu/DrawingBuffer.cpp |
+++ b/Source/platform/graphics/gpu/DrawingBuffer.cpp |
@@ -47,8 +47,6 @@ |
#include "wtf/RefCountedLeakCounter.h" |
#endif |
-using namespace std; |
- |
namespace blink { |
namespace { |
@@ -759,7 +757,7 @@ void DrawingBuffer::setSize(const IntSize& size) |
int DrawingBuffer::pixelDelta(const IntSize& newSize, const IntSize& curSize) |
{ |
- return (max(0, newSize.width()) * max(0, newSize.height())) - (max(0, curSize.width()) * max(0, curSize.height())); |
+ return (std::max(0, newSize.width()) * std::max(0, newSize.height())) - (std::max(0, curSize.width()) * std::max(0, curSize.height())); |
} |
IntSize DrawingBuffer::adjustSize(const IntSize& desiredSize, const IntSize& curSize, int maxTextureSize) |