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

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

Issue 2040563002: Remove FileError interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fe-dep
Patch Set: Rebased, and closure annotations 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/DOMFileSystem.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp b/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp
index 4f66b32a333306858b02d299ade2c7664906d82a..ba5046c14e0e753ebd3e3eb8f3efdb354baa9636 100644
--- a/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp
@@ -115,7 +115,7 @@ bool DOMFileSystem::hasPendingActivity() const
return m_numberOfPendingCallbacks;
}
-void DOMFileSystem::reportError(ErrorCallback* errorCallback, FileError* fileError)
+void DOMFileSystem::reportError(ErrorCallback* errorCallback, FileError::ErrorCode fileError)
{
scheduleCallback(errorCallback, fileError);
}
@@ -154,7 +154,7 @@ void DOMFileSystem::createWriter(const FileEntry* fileEntry, FileWriterCallback*
ASSERT(fileEntry);
if (!fileSystem()) {
- reportError(errorCallback, FileError::create(FileError::ABORT_ERR));
+ reportError(errorCallback, FileError::ABORT_ERR);
return;
}
@@ -168,7 +168,7 @@ void DOMFileSystem::createFile(const FileEntry* fileEntry, BlobCallback* success
{
KURL fileSystemURL = createFileSystemURL(fileEntry);
if (!fileSystem()) {
- reportError(errorCallback, FileError::create(FileError::ABORT_ERR));
+ reportError(errorCallback, FileError::ABORT_ERR);
return;
}

Powered by Google App Engine
This is Rietveld 408576698