Index: Source/core/fileapi/FileReaderLoader.cpp |
diff --git a/Source/core/fileapi/FileReaderLoader.cpp b/Source/core/fileapi/FileReaderLoader.cpp |
index 8848b2ecde759c9a364bd706dd76ab5aaae1998b..8bb02cb3a9f25a78e4f6e1d83c7f498870f8235e 100644 |
--- a/Source/core/fileapi/FileReaderLoader.cpp |
+++ b/Source/core/fileapi/FileReaderLoader.cpp |
@@ -50,8 +50,6 @@ |
#include "wtf/text/Base64.h" |
#include "wtf/text/StringBuilder.h" |
-using namespace std; |
- |
namespace WebCore { |
FileReaderLoader::FileReaderLoader(ReadType readType, FileReaderLoaderClient* client) |
@@ -199,7 +197,7 @@ void FileReaderLoader::didReceiveResponse(unsigned long, const ResourceResponse& |
// Check that we can cast to unsigned since we have to do |
// so to call ArrayBuffer's create function. |
// FIXME: Support reading more than the current size limit of ArrayBuffer. |
- if (initialBufferLength > numeric_limits<unsigned>::max()) { |
+ if (initialBufferLength > std::numeric_limits<unsigned>::max()) { |
failed(FileError::NOT_READABLE_ERR); |
return; |
} |