RESOLVED FIXED 91631
[Chromium] Call SQLiteFileSystem-related functions directly
https://bugs.webkit.org/show_bug.cgi?id=91631
Summary [Chromium] Call SQLiteFileSystem-related functions directly
Mark Pilgrim (Google)
Reported 2012-07-18 09:26:26 PDT
[Chromium] Call SQLiteFileSystem-related functions directly
Attachments
Patch (15.20 KB, patch)
2012-07-18 09:27 PDT, Mark Pilgrim (Google)
no flags
Patch (15.16 KB, patch)
2012-07-18 11:45 PDT, Mark Pilgrim (Google)
no flags
Mark Pilgrim (Google)
Comment 1 2012-07-18 09:27:46 PDT
WebKit Review Bot
Comment 2 2012-07-18 09:29:24 PDT
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Adam Barth
Comment 3 2012-07-18 09:40:37 PDT
Comment on attachment 153028 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=153028&action=review > Source/Platform/chromium/public/Platform.h:120 > + virtual FileHandle databaseOpenFile( > + const WebString& vfsFileName, int desiredFlags) { return FileHandle(); } I would just merge these lines.
Mark Pilgrim (Google)
Comment 4 2012-07-18 11:45:54 PDT
Mark Pilgrim (Google)
Comment 5 2012-07-18 11:46:17 PDT
Comment on attachment 153061 [details] Patch Nits addressed.
WebKit Review Bot
Comment 6 2012-07-18 13:51:45 PDT
Comment on attachment 153061 [details] Patch Clearing flags on attachment: 153061 Committed r123014: <http://trac.webkit.org/changeset/123014>
WebKit Review Bot
Comment 7 2012-07-18 13:51:51 PDT
All reviewed patches have been landed. Closing bug.
Tony Chang
Comment 8 2012-07-18 14:52:38 PDT
This broke the windows compile: 11>..\platform\sql\chromium\SQLiteFileSystemChromiumWin.cpp(85): error C2660: 'WebKit::Platform::databaseDeleteFile' : function does not take 1 arguments I tried to fix it in http://trac.webkit.org/changeset/123023 . Please double check the change.
Adam Barth
Comment 9 2012-07-18 15:02:49 PDT
> I tried to fix it in http://trac.webkit.org/changeset/123023 . Please double check the change. Thanks for fixing the build! Yes, that's the right fix.
Ryosuke Niwa
Comment 10 2012-07-18 15:30:31 PDT
Still broken: http://build.webkit.org/builders/Chromium%20Win%20Release/builds/46439/steps/compile-webkit/logs/stdio 7>e:\google-windows-1\chromium-win-release\build\source\webkit\chromium\public\platform\../../../../Platform/chromium/public/Platform.h(74): error C2146: syntax error : missing ';' before identifier 'FileHandle' 7>e:\google-windows-1\chromium-win-release\build\source\webkit\chromium\public\platform\../../../../Platform/chromium/public/Platform.h(74): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int It's probably complaining that HANDLE isn't defined.
Adam Barth
Comment 11 2012-07-18 15:44:48 PDT
> It's probably complaining that HANDLE isn't defined. Maybe we should roll out the patch and try again.
Ryosuke Niwa
Comment 12 2012-07-18 15:51:54 PDT
Landed another build fix in http://trac.webkit.org/changeset/123034. Please be more careful in the future. In particular, if you're creating a patch with #if-def for Windows, then please build it on Windows.
Note You need to log in before you can comment on or make changes to this bug.