diff options
Diffstat (limited to 'WebCore/storage/DatabaseTracker.h')
-rw-r--r-- | WebCore/storage/DatabaseTracker.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/storage/DatabaseTracker.h b/WebCore/storage/DatabaseTracker.h index b1267bc..094ee66 100644 --- a/WebCore/storage/DatabaseTracker.h +++ b/WebCore/storage/DatabaseTracker.h @@ -63,7 +63,8 @@ public: // This singleton will potentially be used from multiple worker threads and the page's context thread simultaneously. To keep this safe, it's // currently using 4 locks. In order to avoid deadlock when taking multiple locks, you must take them in the correct order: // m_databaseGuard before quotaManager if both locks are needed. - // no other lock is taken in the code locked on m_openDatabaseMapGuard. + // m_openDatabaseMapGuard before quotaManager if both locks are needed. + // m_databaseGuard and m_openDatabaseMapGuard currently don't overlap. // notificationMutex() is currently independent of the other locks. bool canEstablishDatabase(ScriptExecutionContext*, const String& name, const String& displayName, unsigned long estimatedSize); |