Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(707)

Unified Diff: third_party/WebKit/Source/modules/filesystem/FileWriter.cpp

Issue 2040563002: Remove FileError interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fe-dep
Patch Set: Devtools/test updates Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698