| Index: Source/modules/filesystem/DirectoryEntrySync.cpp
|
| diff --git a/Source/modules/filesystem/DirectoryEntrySync.cpp b/Source/modules/filesystem/DirectoryEntrySync.cpp
|
| index 981ba31749d6bb44e719ff2d6ffb187a4d5c15e4..655ca9927b885975a09587b8d32ae0cf34286e27 100644
|
| --- a/Source/modules/filesystem/DirectoryEntrySync.cpp
|
| +++ b/Source/modules/filesystem/DirectoryEntrySync.cpp
|
| @@ -31,7 +31,7 @@
|
| #include "config.h"
|
| #include "modules/filesystem/DirectoryEntrySync.h"
|
|
|
| -#include "core/fileapi/FileException.h"
|
| +#include "core/dom/ExceptionCode.h"
|
| #include "modules/filesystem/DirectoryReaderSync.h"
|
| #include "modules/filesystem/EntrySync.h"
|
| #include "modules/filesystem/FileEntrySync.h"
|
| @@ -56,7 +56,7 @@ PassRefPtr<FileEntrySync> DirectoryEntrySync::getFile(const String& path, const
|
| FileSystemFlags flags(options);
|
| EntrySyncCallbackHelper helper(m_fileSystem->asyncFileSystem());
|
| if (!m_fileSystem->getFile(this, path, flags, helper.successCallback(), helper.errorCallback())) {
|
| - ec = FileException::INVALID_MODIFICATION_ERR;
|
| + ec = FSInvalidModificationError;
|
| return 0;
|
| }
|
| return static_pointer_cast<FileEntrySync>(helper.getResult(ec));
|
| @@ -68,7 +68,7 @@ PassRefPtr<DirectoryEntrySync> DirectoryEntrySync::getDirectory(const String& pa
|
| FileSystemFlags flags(options);
|
| EntrySyncCallbackHelper helper(m_fileSystem->asyncFileSystem());
|
| if (!m_fileSystem->getDirectory(this, path, flags, helper.successCallback(), helper.errorCallback())) {
|
| - ec = FileException::INVALID_MODIFICATION_ERR;
|
| + ec = FSInvalidModificationError;
|
| return 0;
|
| }
|
| return static_pointer_cast<DirectoryEntrySync>(helper.getResult(ec));
|
| @@ -79,7 +79,7 @@ void DirectoryEntrySync::removeRecursively(ExceptionCode& ec)
|
| ec = 0;
|
| VoidSyncCallbackHelper helper(m_fileSystem->asyncFileSystem());
|
| if (!m_fileSystem->removeRecursively(this, helper.successCallback(), helper.errorCallback())) {
|
| - ec = FileException::INVALID_MODIFICATION_ERR;
|
| + ec = FSInvalidModificationError;
|
| return;
|
| }
|
| helper.getResult(ec);
|
|
|