Index: Source/core/fileapi/FileReaderLoader.cpp |
diff --git a/Source/core/fileapi/FileReaderLoader.cpp b/Source/core/fileapi/FileReaderLoader.cpp |
index 8bb02cb3a9f25a78e4f6e1d83c7f498870f8235e..8848b2ecde759c9a364bd706dd76ab5aaae1998b 100644 |
--- a/Source/core/fileapi/FileReaderLoader.cpp |
+++ b/Source/core/fileapi/FileReaderLoader.cpp |
@@ -50,6 +50,8 @@ |
#include "wtf/text/Base64.h" |
#include "wtf/text/StringBuilder.h" |
+using namespace std; |
+ |
namespace WebCore { |
FileReaderLoader::FileReaderLoader(ReadType readType, FileReaderLoaderClient* client) |
@@ -197,7 +199,7 @@ |
// 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 > std::numeric_limits<unsigned>::max()) { |
+ if (initialBufferLength > numeric_limits<unsigned>::max()) { |
failed(FileError::NOT_READABLE_ERR); |
return; |
} |