Index: third_party/WebKit/Source/core/fileapi/FileReader.cpp |
diff --git a/third_party/WebKit/Source/core/fileapi/FileReader.cpp b/third_party/WebKit/Source/core/fileapi/FileReader.cpp |
index 648352ed2addfc10b4b0a2af2b9286921e032568..f274d58f10ba4c54e8150f35fd6f809fdb2f9976 100644 |
--- a/third_party/WebKit/Source/core/fileapi/FileReader.cpp |
+++ b/third_party/WebKit/Source/core/fileapi/FileReader.cpp |
@@ -344,7 +344,7 @@ void FileReader::doAbort() |
terminate(); |
- m_error = FileError::create(FileError::ABORT_ERR); |
+ m_error = FileError::createDOMException(FileError::ABORT_ERR); |
// Unregister the reader. |
ThrottlingController::FinishReaderType finalStep = ThrottlingController::removeReader(getExecutionContext(), this); |
@@ -431,7 +431,7 @@ void FileReader::didFail(FileError::ErrorCode errorCode) |
ASSERT(m_state != DONE); |
m_state = DONE; |
- m_error = FileError::create(static_cast<FileError::ErrorCode>(errorCode)); |
+ m_error = FileError::createDOMException(static_cast<FileError::ErrorCode>(errorCode)); |
// Unregister the reader. |
ThrottlingController::FinishReaderType finalStep = ThrottlingController::removeReader(getExecutionContext(), this); |