Index: content/child/fileapi/webfilesystem_impl.cc |
diff --git a/content/child/fileapi/webfilesystem_impl.cc b/content/child/fileapi/webfilesystem_impl.cc |
index e05ded3733d9d8f42be30235e8a2f349f5cc4495..69057aa95ab7305a971c1aad0ff06db49ce5dd6d 100644 |
--- a/content/child/fileapi/webfilesystem_impl.cc |
+++ b/content/child/fileapi/webfilesystem_impl.cc |
@@ -82,8 +82,8 @@ void WebFileSystemImpl::createFile(const WebURL& path, |
WebFileSystemCallbacks* callbacks) { |
FileSystemDispatcher* dispatcher = |
ChildThread::current()->file_system_dispatcher(); |
- dispatcher->Create( |
- GURL(path), exclusive, false /* directory */, false /* recursive */, |
+ dispatcher->CreateFile( |
+ GURL(path), exclusive, |
base::Bind(&FileStatusCallbackAdapter, callbacks)); |
} |
@@ -92,8 +92,8 @@ void WebFileSystemImpl::createDirectory(const WebURL& path, |
WebFileSystemCallbacks* callbacks) { |
FileSystemDispatcher* dispatcher = |
ChildThread::current()->file_system_dispatcher(); |
- dispatcher->Create( |
- GURL(path), exclusive, true /* directory */, false /* recursive */, |
+ dispatcher->CreateDirectory( |
+ GURL(path), exclusive, false /* recursive */, |
base::Bind(&FileStatusCallbackAdapter, callbacks)); |
} |