Clean the chromium bits of WebCore's WebDatabase
Created attachment 196594 [details] Patch
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.
(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?
(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.
Committed r147796: <http://trac.webkit.org/changeset/147796>