| Index: third_party/WebKit/Source/modules/filesystem/FileEntry.cpp
|
| diff --git a/third_party/WebKit/Source/modules/filesystem/FileEntry.cpp b/third_party/WebKit/Source/modules/filesystem/FileEntry.cpp
|
| index 503fa95eedca336cdcd8938dcd347f3d22dc5aac..ff1f2e22eb8e77f40933d32cd581ddbdc746e8b2 100644
|
| --- a/third_party/WebKit/Source/modules/filesystem/FileEntry.cpp
|
| +++ b/third_party/WebKit/Source/modules/filesystem/FileEntry.cpp
|
| @@ -34,6 +34,7 @@
|
| #include "core/fileapi/File.h"
|
| #include "modules/filesystem/DOMFileSystem.h"
|
| #include "modules/filesystem/ErrorCallback.h"
|
| +#include "modules/filesystem/FileSystemCallbacks.h"
|
| #include "modules/filesystem/FileWriterCallback.h"
|
|
|
| namespace blink {
|
| @@ -45,12 +46,12 @@ FileEntry::FileEntry(DOMFileSystemBase* fileSystem, const String& fullPath)
|
|
|
| void FileEntry::createWriter(FileWriterCallback* successCallback, ErrorCallback* errorCallback)
|
| {
|
| - filesystem()->createWriter(this, successCallback, errorCallback);
|
| + filesystem()->createWriter(this, successCallback, ScriptErrorCallback::wrap(errorCallback));
|
| }
|
|
|
| void FileEntry::file(BlobCallback* successCallback, ErrorCallback* errorCallback)
|
| {
|
| - filesystem()->createFile(this, successCallback, errorCallback);
|
| + filesystem()->createFile(this, successCallback, ScriptErrorCallback::wrap(errorCallback));
|
| }
|
|
|
| DEFINE_TRACE(FileEntry)
|
|
|