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

Unified Diff: third_party/WebKit/Source/core/fileapi/FileReader.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/core/fileapi/FileReader.h
diff --git a/third_party/WebKit/Source/core/fileapi/FileReader.h b/third_party/WebKit/Source/core/fileapi/FileReader.h
index de7bee0dfe91f8d980de860e12dee3da8b605063..c3e8598dbf6ec41501bb1470afefc59fe724e37e 100644
--- a/third_party/WebKit/Source/core/fileapi/FileReader.h
+++ b/third_party/WebKit/Source/core/fileapi/FileReader.h
@@ -73,7 +73,7 @@ public:
void doAbort();
ReadyState getReadyState() const { return m_state; }
- FileError* error() { return m_error; }
+ DOMException* error() { return m_error; }
void result(StringOrArrayBuffer& resultAttribute) const;
// ActiveDOMObject
@@ -130,7 +130,7 @@ private:
String m_encoding;
std::unique_ptr<FileReaderLoader> m_loader;
- Member<FileError> m_error;
+ Member<DOMException> m_error;
double m_lastProgressNotificationTimeMS;
};

Powered by Google App Engine
This is Rietveld 408576698