RESOLVED FIXED 43035
[Chromium] Make Chromium compile with ENABLE_DATABASE=0
https://bugs.webkit.org/show_bug.cgi?id=43035
Summary [Chromium] Make Chromium compile with ENABLE_DATABASE=0
Dumitru Daniliuc
Reported 2010-07-27 03:03:09 PDT
We need to move all WebSQLDatabases code behind #if ENABLE(DATABASE) and make Chromium compile with ENABLE_DATABASE=0.
Attachments
patch (10.94 KB, patch)
2010-07-27 11:34 PDT, Dumitru Daniliuc
dumi: commit-queue-
patch (11.22 KB, patch)
2010-07-27 12:29 PDT, Dumitru Daniliuc
levin: review+
dumi: commit-queue-
Dumitru Daniliuc
Comment 1 2010-07-27 11:34:01 PDT
David Levin
Comment 2 2010-07-27 12:13:01 PDT
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.)
Dumitru Daniliuc
Comment 3 2010-07-27 12:23:35 PDT
(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.
Dumitru Daniliuc
Comment 4 2010-07-27 12:29:16 PDT
Dumitru Daniliuc
Comment 5 2010-07-27 18:08:50 PDT
landed: r64151.
Dumitru Daniliuc
Comment 6 2010-07-27 18:09:13 PDT
landed: r64151.
Note You need to log in before you can comment on or make changes to this bug.