Index: third_party/WebKit/Source/core/fileapi/FileReaderSync.cpp |
diff --git a/third_party/WebKit/Source/core/fileapi/FileReaderSync.cpp b/third_party/WebKit/Source/core/fileapi/FileReaderSync.cpp |
index 8bea959d6c647a78479bb87325c2ab41cb730c61..c64341a414e240bb4067c2656fe633d4851a30b3 100644 |
--- a/third_party/WebKit/Source/core/fileapi/FileReaderSync.cpp |
+++ b/third_party/WebKit/Source/core/fileapi/FileReaderSync.cpp |
@@ -71,7 +71,7 @@ DOMArrayBuffer* FileReaderSync::readAsArrayBuffer( |
ScriptState* script_state, |
Blob* blob, |
ExceptionState& exception_state) { |
- ASSERT(blob); |
+ DCHECK(blob); |
std::unique_ptr<FileReaderLoader> loader = |
FileReaderLoader::Create(FileReaderLoader::kReadAsArrayBuffer, nullptr); |
@@ -84,7 +84,7 @@ DOMArrayBuffer* FileReaderSync::readAsArrayBuffer( |
String FileReaderSync::readAsBinaryString(ScriptState* script_state, |
Blob* blob, |
ExceptionState& exception_state) { |
- ASSERT(blob); |
+ DCHECK(blob); |
std::unique_ptr<FileReaderLoader> loader = |
FileReaderLoader::Create(FileReaderLoader::kReadAsBinaryString, nullptr); |
@@ -97,7 +97,7 @@ String FileReaderSync::readAsText(ScriptState* script_state, |
Blob* blob, |
const String& encoding, |
ExceptionState& exception_state) { |
- ASSERT(blob); |
+ DCHECK(blob); |
std::unique_ptr<FileReaderLoader> loader = |
FileReaderLoader::Create(FileReaderLoader::kReadAsText, nullptr); |
@@ -110,7 +110,7 @@ String FileReaderSync::readAsText(ScriptState* script_state, |
String FileReaderSync::readAsDataURL(ScriptState* script_state, |
Blob* blob, |
ExceptionState& exception_state) { |
- ASSERT(blob); |
+ DCHECK(blob); |
std::unique_ptr<FileReaderLoader> loader = |
FileReaderLoader::Create(FileReaderLoader::kReadAsDataURL, nullptr); |