| Index: Source/core/fileapi/FileReaderLoader.cpp
|
| diff --git a/Source/core/fileapi/FileReaderLoader.cpp b/Source/core/fileapi/FileReaderLoader.cpp
|
| index 7a0e9bf21e8837a1482998945c519ad92854cf20..614aecc8a28eaea5bf3be9ce0904f71b717ed335 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;
|
| }
|
|
|