| Index: third_party/WebKit/Source/modules/filesystem/FileWriterSync.cpp
|
| diff --git a/third_party/WebKit/Source/modules/filesystem/FileWriterSync.cpp b/third_party/WebKit/Source/modules/filesystem/FileWriterSync.cpp
|
| index 8bc2b380ce5b7262e3ec2222898e8a1445e49f85..d3e451d8474975a9fd32de137f9c2738a524c375 100644
|
| --- a/third_party/WebKit/Source/modules/filesystem/FileWriterSync.cpp
|
| +++ b/third_party/WebKit/Source/modules/filesystem/FileWriterSync.cpp
|
| @@ -39,8 +39,8 @@
|
| namespace blink {
|
|
|
| void FileWriterSync::write(Blob* data, ExceptionState& exception_state) {
|
| - ASSERT(data);
|
| - ASSERT(Writer());
|
| + DCHECK(data);
|
| + DCHECK(Writer());
|
| DCHECK(complete_);
|
|
|
| PrepareForWrite();
|
| @@ -56,14 +56,14 @@ void FileWriterSync::write(Blob* data, ExceptionState& exception_state) {
|
| }
|
|
|
| void FileWriterSync::seek(long long position, ExceptionState& exception_state) {
|
| - ASSERT(Writer());
|
| + DCHECK(Writer());
|
| DCHECK(complete_);
|
| SeekInternal(position);
|
| }
|
|
|
| void FileWriterSync::truncate(long long offset,
|
| ExceptionState& exception_state) {
|
| - ASSERT(Writer());
|
| + DCHECK(Writer());
|
| DCHECK(complete_);
|
| if (offset < 0) {
|
| exception_state.ThrowDOMException(kInvalidStateError,
|
|
|