Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(576)

Issue 8152004: Merge 96554 - A little more WebSQLDatabase thread safety. (Closed)

Created:
9 years, 2 months ago by michaeln
Modified:
9 years, 2 months ago
Reviewers:
michaeln1
CC:
chromium-reviews
Base URL:
http://svn.webkit.org/repository/webkit/branches/chromium/874/
Visibility:
Public.

Description

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+7662 lines, -42 lines) Patch
M Source/WebCore/ChangeLog View 1 chunk +7628 lines, -0 lines 0 comments Download
M Source/WebCore/storage/AbstractDatabase.h View 3 chunks +2 lines, -4 lines 0 comments Download
M Source/WebCore/storage/AbstractDatabase.cpp View 10 chunks +28 lines, -34 lines 0 comments Download
M Source/WebCore/storage/chromium/DatabaseTrackerChromium.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/WebCore/storage/chromium/QuotaTracker.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
michaeln
9 years, 2 months ago (2011-10-05 20:22:31 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698