DescriptionMerge 96554 - A little more WebSQLDatabase thread safety.
https://bugs.webkit.org/show_bug.cgi?id=69277
- switch to using AtomicallyInitializedStatic where appropiate
- avoid using some Strings across threads
Reviewed by David Levin.
Existing tests apply.
* storage/AbstractDatabase.cpp:
(WebCore::guidMutex):
(WebCore::guidToVersionMap):
(WebCore::guidToDatabaseMap):
(WebCore::guidForOriginAndName):
(WebCore::AbstractDatabase::databaseInfoTableName):
(WebCore::AbstractDatabase::AbstractDatabase):
(WebCore::AbstractDatabase::performOpenAndVerify):
(WebCore::AbstractDatabase::getVersionFromDatabase):
(WebCore::AbstractDatabase::setVersionInDatabase):
* storage/AbstractDatabase.h:
* storage/chromium/DatabaseTrackerChromium.cpp:
(WebCore::DatabaseTracker::tracker):
* storage/chromium/QuotaTracker.cpp:
(WebCore::QuotaTracker::instance):
TBR=michaeln@google.com
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96742
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|