| Index: third_party/WebKit/Source/modules/filesystem/ErrorCallback.h
|
| diff --git a/third_party/WebKit/Source/modules/filesystem/ErrorCallback.h b/third_party/WebKit/Source/modules/filesystem/ErrorCallback.h
|
| index 655b495dc46aea11538d923da5c9ee3c2855d402..f2cc1b1a4eff401163683a5f8c666b5b79266cff 100644
|
| --- a/third_party/WebKit/Source/modules/filesystem/ErrorCallback.h
|
| +++ b/third_party/WebKit/Source/modules/filesystem/ErrorCallback.h
|
| @@ -31,17 +31,17 @@
|
| #ifndef ErrorCallback_h
|
| #define ErrorCallback_h
|
|
|
| +#include "core/fileapi/FileError.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
|
|
| -class FileError;
|
| -
|
| class ErrorCallback : public GarbageCollectedFinalized<ErrorCallback> {
|
| public:
|
| virtual ~ErrorCallback() { }
|
| DEFINE_INLINE_VIRTUAL_TRACE() { }
|
| - virtual void handleEvent(FileError*) = 0;
|
| + virtual void handleEvent(DOMException*) = 0;
|
| + virtual void handleEvent(FileError::ErrorCode error) { handleEvent(FileError::createDOMException(error)); }
|
| };
|
|
|
| } // namespace blink
|
|
|