| Index: Source/modules/filesystem/DOMWindowFileSystem.cpp
|
| diff --git a/Source/modules/filesystem/DOMWindowFileSystem.cpp b/Source/modules/filesystem/DOMWindowFileSystem.cpp
|
| index faa99c554ce6932cecb9e6d11975748c235fda03..c1cf4761ff99eae4bc44e2e79decfca1af0352a7 100644
|
| --- a/Source/modules/filesystem/DOMWindowFileSystem.cpp
|
| +++ b/Source/modules/filesystem/DOMWindowFileSystem.cpp
|
| @@ -48,12 +48,12 @@ DOMWindowFileSystem::~DOMWindowFileSystem()
|
| {
|
| }
|
|
|
| -void DOMWindowFileSystem::webkitRequestFileSystem(DOMWindow* window, int type, long long size, PassOwnPtr<FileSystemCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback)
|
| +void DOMWindowFileSystem::webkitRequestFileSystem(DOMWindow& window, int type, long long size, PassOwnPtr<FileSystemCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback)
|
| {
|
| - if (!window->isCurrentlyDisplayedInFrame())
|
| + if (!window.isCurrentlyDisplayedInFrame())
|
| return;
|
|
|
| - Document* document = window->document();
|
| + Document* document = window.document();
|
| if (!document)
|
| return;
|
|
|
| @@ -68,15 +68,15 @@ void DOMWindowFileSystem::webkitRequestFileSystem(DOMWindow* window, int type, l
|
| return;
|
| }
|
|
|
| - LocalFileSystem::from(document)->requestFileSystem(document, fileSystemType, size, FileSystemCallbacks::create(successCallback, errorCallback, document, fileSystemType));
|
| + LocalFileSystem::from(*document)->requestFileSystem(document, fileSystemType, size, FileSystemCallbacks::create(successCallback, errorCallback, document, fileSystemType));
|
| }
|
|
|
| -void DOMWindowFileSystem::webkitResolveLocalFileSystemURL(DOMWindow* window, const String& url, PassOwnPtr<EntryCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback)
|
| +void DOMWindowFileSystem::webkitResolveLocalFileSystemURL(DOMWindow& window, const String& url, PassOwnPtr<EntryCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback)
|
| {
|
| - if (!window->isCurrentlyDisplayedInFrame())
|
| + if (!window.isCurrentlyDisplayedInFrame())
|
| return;
|
|
|
| - Document* document = window->document();
|
| + Document* document = window.document();
|
| if (!document)
|
| return;
|
|
|
| @@ -92,7 +92,7 @@ void DOMWindowFileSystem::webkitResolveLocalFileSystemURL(DOMWindow* window, con
|
| return;
|
| }
|
|
|
| - LocalFileSystem::from(document)->resolveURL(document, completedURL, ResolveURICallbacks::create(successCallback, errorCallback, document));
|
| + LocalFileSystem::from(*document)->resolveURL(document, completedURL, ResolveURICallbacks::create(successCallback, errorCallback, document));
|
| }
|
|
|
| COMPILE_ASSERT(static_cast<int>(DOMWindowFileSystem::TEMPORARY) == static_cast<int>(FileSystemTypeTemporary), enum_mismatch);
|
|
|