[Webkit-unassigned] [Bug 77006] [StorageTracker] Make one able to set the local storage (tracker) database dir's path

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 26 13:48:54 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=77006


Anton D'Auria <adauria at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #124172|review?, commit-queue?      |review-, commit-queue-
               Flag|                            |




--- Comment #14 from Anton D'Auria <adauria at apple.com>  2012-01-26 13:48:53 PST ---
(From update of attachment 124172)
View in context: https://bugs.webkit.org/attachment.cgi?id=124172&action=review

> Source/WebCore/storage/StorageTracker.cpp:101
> +    if (!m_database.isOpen())

you mean, if (m_database.isOpen())

> Source/WebCore/storage/StorageTracker.cpp:107
> +    MutexLocker lockOrigins(m_originSetGuard);
> +    m_originSet.clear();

m_originSetGuard needs to be unlocked because it's locked again in importOriginIdentifiers()
this will work:
{
    MutexLocker lockOrigins(m_originSetGuard);
    m_originSet.clear();
}

-- 
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