| Index: third_party/WebKit/Source/modules/filesystem/Entry.cpp
|
| diff --git a/third_party/WebKit/Source/modules/filesystem/Entry.cpp b/third_party/WebKit/Source/modules/filesystem/Entry.cpp
|
| index 159bc405f7e4dcc2dee68ec4fc34dee055ec518e..32b5f80aaf31f2fba65689ad51cdc4a740f67ae2 100644
|
| --- a/third_party/WebKit/Source/modules/filesystem/Entry.cpp
|
| +++ b/third_party/WebKit/Source/modules/filesystem/Entry.cpp
|
| @@ -59,35 +59,35 @@ void Entry::getMetadata(ExecutionContext* context, MetadataCallback* successCall
|
| {
|
| if (m_fileSystem->type() == FileSystemTypeIsolated)
|
| UseCounter::count(context, UseCounter::Entry_GetMetadata_Method_IsolatedFileSystem);
|
| - m_fileSystem->getMetadata(this, successCallback, errorCallback);
|
| + m_fileSystem->getMetadata(this, successCallback, ScriptErrorCallback::wrap(errorCallback));
|
| }
|
|
|
| void Entry::moveTo(ExecutionContext* context, DirectoryEntry* parent, const String& name, EntryCallback* successCallback, ErrorCallback* errorCallback) const
|
| {
|
| if (m_fileSystem->type() == FileSystemTypeIsolated)
|
| UseCounter::count(context, UseCounter::Entry_MoveTo_Method_IsolatedFileSystem);
|
| - m_fileSystem->move(this, parent, name, successCallback, errorCallback);
|
| + m_fileSystem->move(this, parent, name, successCallback, ScriptErrorCallback::wrap(errorCallback));
|
| }
|
|
|
| void Entry::copyTo(ExecutionContext* context, DirectoryEntry* parent, const String& name, EntryCallback* successCallback, ErrorCallback* errorCallback) const
|
| {
|
| if (m_fileSystem->type() == FileSystemTypeIsolated)
|
| UseCounter::count(context, UseCounter::Entry_CopyTo_Method_IsolatedFileSystem);
|
| - m_fileSystem->copy(this, parent, name, successCallback, errorCallback);
|
| + m_fileSystem->copy(this, parent, name, successCallback, ScriptErrorCallback::wrap(errorCallback));
|
| }
|
|
|
| void Entry::remove(ExecutionContext* context, VoidCallback* successCallback, ErrorCallback* errorCallback) const
|
| {
|
| if (m_fileSystem->type() == FileSystemTypeIsolated)
|
| UseCounter::count(context, UseCounter::Entry_Remove_Method_IsolatedFileSystem);
|
| - m_fileSystem->remove(this, successCallback, errorCallback);
|
| + m_fileSystem->remove(this, successCallback, ScriptErrorCallback::wrap(errorCallback));
|
| }
|
|
|
| void Entry::getParent(ExecutionContext* context, EntryCallback* successCallback, ErrorCallback* errorCallback) const
|
| {
|
| if (m_fileSystem->type() == FileSystemTypeIsolated)
|
| UseCounter::count(context, UseCounter::Entry_GetParent_Method_IsolatedFileSystem);
|
| - m_fileSystem->getParent(this, successCallback, errorCallback);
|
| + m_fileSystem->getParent(this, successCallback, ScriptErrorCallback::wrap(errorCallback));
|
| }
|
|
|
| String Entry::toURL(ExecutionContext* context) const
|
|
|