We need to move all WebSQLDatabases code behind #if ENABLE(DATABASE) and make Chromium compile with ENABLE_DATABASE=0.
Created attachment 62717 [details] patch
I would be happy to r+ this except I can't figure out why various files have the ifdef's removed. (Beating a dead horse, some very short ChangeLog comments would be helpful in explaining this.)
(In reply to comment #2) > I would be happy to r+ this except I can't figure out why various files have the ifdef's removed. (Beating a dead horse, some very short ChangeLog comments would be helpful in explaining this.) there's a layer of "general" DB classes in WebCore/platform/sql/, and then a layer of HTML5 DB classes in WebCore/storage/. DatabaseAuthorizer.cpp and ChromiumBridge.{h|cpp} are used by the "general" DB classes, which are used by other features too (like Geolocation). so those functions need to be compiled in even when HTML5 DBs are turned off. i'll add this to the ChangeLog comments and re-upload the patch in a second.
Created attachment 62726 [details] patch
landed: r64151.