| Index: Source/modules/filesystem/DOMFileSystemSync.cpp
|
| diff --git a/Source/modules/filesystem/DOMFileSystemSync.cpp b/Source/modules/filesystem/DOMFileSystemSync.cpp
|
| index 0a20c971982fa699af4c5b72574285f137b2b05a..7ea6ec7927a448d08ed306b8c8c01b4a91240f40 100644
|
| --- a/Source/modules/filesystem/DOMFileSystemSync.cpp
|
| +++ b/Source/modules/filesystem/DOMFileSystemSync.cpp
|
| @@ -158,13 +158,13 @@ private:
|
|
|
| } // namespace
|
|
|
| -PassRefPtr<File> DOMFileSystemSync::createFile(const FileEntrySync* fileEntry, ExceptionState& es)
|
| +PassRefPtr<File> DOMFileSystemSync::createFile(const FileEntrySync* fileEntry, ExceptionState& exceptionState)
|
| {
|
| KURL fileSystemURL = createFileSystemURL(fileEntry);
|
| RefPtr<CreateFileHelper::CreateFileResult> result(CreateFileHelper::CreateFileResult::create());
|
| fileSystem()->createSnapshotFileAndReadMetadata(fileSystemURL, CreateFileHelper::create(result, fileEntry->name(), fileSystemURL, type()));
|
| if (result->m_failed) {
|
| - es.throwUninformativeAndGenericDOMException(result->m_code);
|
| + exceptionState.throwUninformativeAndGenericDOMException(result->m_code);
|
| return 0;
|
| }
|
| return result->m_file;
|
| @@ -236,7 +236,7 @@ private:
|
|
|
| }
|
|
|
| -PassRefPtr<FileWriterSync> DOMFileSystemSync::createWriter(const FileEntrySync* fileEntry, ExceptionState& es)
|
| +PassRefPtr<FileWriterSync> DOMFileSystemSync::createWriter(const FileEntrySync* fileEntry, ExceptionState& exceptionState)
|
| {
|
| ASSERT(fileEntry);
|
|
|
| @@ -252,7 +252,7 @@ PassRefPtr<FileWriterSync> DOMFileSystemSync::createWriter(const FileEntrySync*
|
| ASSERT(!successCallback->fileWriterBase());
|
| FileError::ErrorCode errorCode = errorCallback->error()->code();
|
| if (errorCode)
|
| - FileError::throwDOMException(es, errorCode);
|
| + FileError::throwDOMException(exceptionState, errorCode);
|
| return 0;
|
| }
|
| ASSERT(successCallback->fileWriterBase());
|
|
|