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

Unified Diff: third_party/WebKit/Source/modules/filesystem/DirectoryReader.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/DirectoryReader.h
diff --git a/third_party/WebKit/Source/modules/filesystem/DirectoryReader.h b/third_party/WebKit/Source/modules/filesystem/DirectoryReader.h
index 45d8b1ba79b35447d6146f2f14d9a166c2f7f4e6..7eb8107dcdfc30917726dcce627dbac997dfe9f6 100644
--- a/third_party/WebKit/Source/modules/filesystem/DirectoryReader.h
+++ b/third_party/WebKit/Source/modules/filesystem/DirectoryReader.h
@@ -66,11 +66,11 @@ private:
void addEntries(const EntryHeapVector& entries);
- void onError(FileError*);
+ void onError(FileError::ErrorCode);
bool m_isReading;
EntryHeapVector m_entries;
- Member<FileError> m_error;
+ FileError::ErrorCode m_error = FileError::ErrorCode::OK;
Member<EntriesCallback> m_entriesCallback;
Member<ErrorCallback> m_errorCallback;
};

Powered by Google App Engine
This is Rietveld 408576698