[Webkit-unassigned] [Bug 27967] Decouple the code that deals with the main DB and quota management from the rest of the DB code
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 19 15:32:27 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27967
Dumitru Daniliuc <dumi at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #35082|0 |1
is obsolete| |
Attachment #35150| |review?
Flag| |
--- Comment #32 from Dumitru Daniliuc <dumi at chromium.org> 2009-08-19 15:32:23 PDT ---
Created an attachment (id=35150)
--> (https://bugs.webkit.org/attachment.cgi?id=35150)
patch
The problem was that we used a RefPtr copy of a SecurityOrigin (that was
destroyed as soon as we were out of its scope) instead of using the original
pointer in SQLTransactionClient::didCommitTransaction().
We should probably add a Database::securityOrigin() method and explain in more
details when to use securityOrigin() and when to use securityOriginCopy().
Right now, it is not obvious at all what the difference is, and it's very
tempting to call m_database->securityOriginCopy() instead of
m_database->document()->securityOrigin().
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list