Index: third_party/WebKit/Source/modules/filesystem/FileWriter.cpp |
diff --git a/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp b/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp |
index 28b16dfa37fabae51d3981aa999f520f584cf6ad..e7a941d34db50e032ecf1b105bf1d1e154de2177 100644 |
--- a/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp |
+++ b/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp |
@@ -288,7 +288,7 @@ void FileWriter::signalCompletion(FileError::ErrorCode code) |
m_readyState = DONE; |
m_truncateLength = -1; |
if (FileError::OK != code) { |
- m_error = FileError::create(code); |
+ m_error = FileError::createDOMException(code); |
if (FileError::ABORT_ERR == code) |
fireEvent(EventTypeNames::abort); |
else |
@@ -313,7 +313,7 @@ void FileWriter::setError(FileError::ErrorCode errorCode, ExceptionState& except |
{ |
ASSERT(errorCode); |
FileError::throwDOMException(exceptionState, errorCode); |
- m_error = FileError::create(errorCode); |
+ m_error = FileError::createDOMException(errorCode); |
} |
DEFINE_TRACE(FileWriter) |