RESOLVED FIXED Bug 114010
Clean the chromium bits of WebCore's WebDatabase
https://bugs.webkit.org/show_bug.cgi?id=114010
Summary Clean the chromium bits of WebCore's WebDatabase
Benjamin Poulain
Reported 2013-04-05 01:23:37 PDT
Clean the chromium bits of WebCore's WebDatabase
Attachments
Patch (52.84 KB, patch)
2013-04-05 01:24 PDT, Benjamin Poulain
rniwa: review+
Benjamin Poulain
Comment 1 2013-04-05 01:24:08 PDT
Mark Lam
Comment 2 2013-04-05 07:37:42 PDT
Comment on attachment 196594 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=196594&action=review LGTM with the getCachedVersion() issue addressed. Thanks. > Source/WebCore/Modules/webdatabase/DatabaseBackendBase.cpp:-533 > - return getVersionFromDatabase(actualVersion, true); We will want to adopt this for WK2 instead of the getCachedVersion() below.
Benjamin Poulain
Comment 3 2013-04-05 11:39:42 PDT
(In reply to comment #2) > (From update of attachment 196594 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=196594&action=review > > LGTM with the getCachedVersion() issue addressed. Thanks. > > > Source/WebCore/Modules/webdatabase/DatabaseBackendBase.cpp:-533 > > - return getVersionFromDatabase(actualVersion, true); > > We will want to adopt this for WK2 instead of the getCachedVersion() below. I am not sure what you are asking. You want to keep dead code around? Or you want to remove the #else part and use the former chromium part?
Mark Lam
Comment 4 2013-04-05 12:56:14 PDT
(In reply to comment #3) > (In reply to comment #2) > > (From update of attachment 196594 [details] [details]) > > View in context: https://bugs.webkit.org/attachment.cgi?id=196594&action=review > > > > LGTM with the getCachedVersion() issue addressed. Thanks. > > > > > Source/WebCore/Modules/webdatabase/DatabaseBackendBase.cpp:-533 > > > - return getVersionFromDatabase(actualVersion, true); > > > > We will want to adopt this for WK2 instead of the getCachedVersion() below. > > I am not sure what you are asking. > > You want to keep dead code around? Or you want to remove the #else part and use the former chromium part? I meant to say that we should keep the chromium version here and get rid of the other. In this one case, the chromium version is the correct one to use because of WK2’s needs.
Benjamin Poulain
Comment 5 2013-04-05 13:50:52 PDT
Note You need to log in before you can comment on or make changes to this bug.