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

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

Issue 2040563002: Remove FileError interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fe-dep
Patch Set: handleEvent -> invoke and other review nits Created 4 years, 5 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.h
diff --git a/third_party/WebKit/Source/modules/filesystem/FileWriter.h b/third_party/WebKit/Source/modules/filesystem/FileWriter.h
index 0ea4dca1f835c9e2c688d4b6c6fcdb28ef8e9c51..128d926f7a5c44737db9cbf7c031ed892486d86a 100644
--- a/third_party/WebKit/Source/modules/filesystem/FileWriter.h
+++ b/third_party/WebKit/Source/modules/filesystem/FileWriter.h
@@ -69,7 +69,7 @@ public:
void truncate(long long length, ExceptionState&);
void abort(ExceptionState&);
ReadyState getReadyState() const { return m_readyState; }
- FileError* error() const { return m_error.get(); }
+ DOMException* error() const { return m_error.get(); }
// WebFileWriterClient
void didWrite(long long bytes, bool complete) override;
@@ -115,7 +115,7 @@ private:
void setError(FileError::ErrorCode, ExceptionState&);
- Member<FileError> m_error;
+ Member<DOMException> m_error;
ReadyState m_readyState;
Operation m_operationInProgress;
Operation m_queuedOperation;

Powered by Google App Engine
This is Rietveld 408576698