Index: Source/web/LocalFileSystemClient.cpp |
diff --git a/Source/web/LocalFileSystemClient.cpp b/Source/web/LocalFileSystemClient.cpp |
index ad0b17cb4c86b2f28bcda27f776babe9c5c1490b..f9d6e7133213e2164967c9c6a76056996ef8c4c4 100644 |
--- a/Source/web/LocalFileSystemClient.cpp |
+++ b/Source/web/LocalFileSystemClient.cpp |
@@ -31,7 +31,6 @@ |
#include "config.h" |
#include "LocalFileSystemClient.h" |
-#include "WebFileSystemCallbacksImpl.h" |
#include "WebFrameImpl.h" |
#include "WebViewImpl.h" |
#include "core/dom/Document.h" |
@@ -70,15 +69,13 @@ bool LocalFileSystemClient::allowFileSystem(ScriptExecutionContext* context) |
void LocalFileSystemClient::openFileSystem(ScriptExecutionContext* context, WebCore::FileSystemType type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks, long long size, OpenFileSystemMode openMode) |
{ |
KURL storagePartition = KURL(KURL(), context->securityOrigin()->toString()); |
- // FIXME: fix this callbacks raw pointer. |
- WebKit::Platform::current()->fileSystem()->openFileSystem(storagePartition, static_cast<WebFileSystemType>(type), openMode == CreateFileSystemIfNotPresent, new WebKit::WebFileSystemCallbacksImpl(callbacks)); |
+ WebKit::Platform::current()->fileSystem()->openFileSystem(storagePartition, static_cast<WebFileSystemType>(type), openMode == CreateFileSystemIfNotPresent, callbacks); |
} |
void LocalFileSystemClient::deleteFileSystem(ScriptExecutionContext* context, WebCore::FileSystemType type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) |
{ |
KURL storagePartition = KURL(KURL(), context->securityOrigin()->toString()); |
- // FIXME: fix this callbacks raw pointer. |
- WebKit::Platform::current()->fileSystem()->deleteFileSystem(storagePartition, static_cast<WebFileSystemType>(type), new WebFileSystemCallbacksImpl(callbacks)); |
+ WebKit::Platform::current()->fileSystem()->deleteFileSystem(storagePartition, static_cast<WebFileSystemType>(type), callbacks); |
} |