Title: [124238] trunk/Source/WebCore
Revision
124238
Author
commit-qu...@webkit.org
Date
2012-07-31 12:20:31 -0700 (Tue, 31 Jul 2012)

Log Message

Fix potential build error on LocalFileSystem::deleteFileSystem.
https://bugs.webkit.org/show_bug.cgi?id=92695

Non-Chrome build of WebKit with FILE_SYSTEM flag will be broken at
LocalFileSystem::deleteFileSystem.
Chrome does not use this source and most of other ports don't turn on
FILE_SYSTEM flag for now. So, we've not seen the breakage explicitly yet.

Patch by Taiju Tsuiki <t...@chromium.org> on 2012-07-31
Reviewed by Adam Barth.

Non-Chrome WebKit build with FILE_SYSTEM should be finished successfully.

* Modules/filesystem/LocalFileSystem.cpp:
(WebCore::LocalFileSystem::deleteFileSystem):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (124237 => 124238)


--- trunk/Source/WebCore/ChangeLog	2012-07-31 19:14:07 UTC (rev 124237)
+++ trunk/Source/WebCore/ChangeLog	2012-07-31 19:20:31 UTC (rev 124238)
@@ -1,3 +1,20 @@
+2012-07-31  Taiju Tsuiki  <t...@chromium.org>
+
+        Fix potential build error on LocalFileSystem::deleteFileSystem.
+        https://bugs.webkit.org/show_bug.cgi?id=92695
+
+        Non-Chrome build of WebKit with FILE_SYSTEM flag will be broken at
+        LocalFileSystem::deleteFileSystem.
+        Chrome does not use this source and most of other ports don't turn on
+        FILE_SYSTEM flag for now. So, we've not seen the breakage explicitly yet.
+
+        Reviewed by Adam Barth.
+
+        Non-Chrome WebKit build with FILE_SYSTEM should be finished successfully.
+
+        * Modules/filesystem/LocalFileSystem.cpp:
+        (WebCore::LocalFileSystem::deleteFileSystem):
+
 2012-07-31  Li Yin  <li....@intel.com>
 
         AudioPannerNode should raise exception when distanceModel is set incorrectly

Modified: trunk/Source/WebCore/Modules/filesystem/LocalFileSystem.cpp (124237 => 124238)


--- trunk/Source/WebCore/Modules/filesystem/LocalFileSystem.cpp	2012-07-31 19:14:07 UTC (rev 124237)
+++ trunk/Source/WebCore/Modules/filesystem/LocalFileSystem.cpp	2012-07-31 19:20:31 UTC (rev 124238)
@@ -101,7 +101,7 @@
     context->postTask(createCallbackTask(&openFileSystem, fileSystemBasePath(), context->securityOrigin()->databaseIdentifier(), true, callbacks));
 }
 
-void LocalFileSystem::deleteFileSystem(ScriptExecutionContext* context, FileSystemType type, PassRefPtr<ErrorCallback> callbacks)
+void LocalFileSystem::deleteFileSystem(ScriptExecutionContext* context, FileSystemType type, PassRefPtr<AsyncFileSystemCallbacks> callbacks)
 {
     // AsyncFileSystem::deleteFileSystem calls callbacks synchronously, so the method needs to be called asynchronously.
     context->postTask(createCallbackTask(&deleteFileSystem, filesystemBasePath(), context->securityOrigin()->databaseIdentifier(), type, callbacks);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to