Index: webkit/support/webkit_support.cc |
=================================================================== |
--- webkit/support/webkit_support.cc (revision 188767) |
+++ webkit/support/webkit_support.cc (working copy) |
@@ -874,14 +874,24 @@ |
} |
// FileSystem |
-void OpenFileSystem(WebFrame* frame, WebFileSystem::Type type, |
+void OpenFileSystem(WebFrame* frame, |
+#ifdef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE |
+ WebKit::WebFileSystemType type, |
+#else |
+ WebFileSystem::Type type, |
+#endif |
long long size, bool create, WebFileSystemCallbacks* callbacks) { |
SimpleFileSystem* fileSystem = static_cast<SimpleFileSystem*>( |
test_environment->webkit_platform_support()->fileSystem()); |
fileSystem->OpenFileSystem(frame, type, size, create, callbacks); |
} |
-void DeleteFileSystem(WebFrame* frame, WebFileSystem::Type type, |
+void DeleteFileSystem(WebFrame* frame, |
+#ifdef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE |
+ WebKit::WebFileSystemType type, |
+#else |
+ WebFileSystem::Type type, |
+#endif |
WebFileSystemCallbacks* callbacks) { |
SimpleFileSystem* fileSystem = static_cast<SimpleFileSystem*>( |
test_environment->webkit_platform_support()->fileSystem()); |