AsyncFileSystem::openFileSystem should take more parameters (SecurityOrigin and file system size) from LocalFileSystem::requestFileSystem. These parameter are required when opening a filesystem.
Created attachment 137850 [details] Patch
Comment on attachment 137850 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=137850&action=review > Source/WebCore/platform/AsyncFileSystem.cpp:67 > +void AsyncFileSystem::openFileSystem(ScriptExecutionContext*, const String& basePath, const String& storageIdentifier, Type type, long long, bool, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) ScriptExecutationContext is not a platofrm concept. I believe this is a layering violation. > Source/WebCore/platform/gtk/AsyncFileSystemGtk.cpp:50 > +void AsyncFileSystem::openFileSystem(SecurityOrigin*, const String& basePath, const String& storageIdentifier, Type type, long long, bool, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) Similarly, I believe this to be a layering violation.