Index: Source/modules/webdatabase/Database.cpp |
diff --git a/Source/modules/webdatabase/Database.cpp b/Source/modules/webdatabase/Database.cpp |
index 316f79e7c087a3563f6b712cec2b87a31965ba3b..11904b2a2cc34bdc3a24a6a8da7848afc064094f 100644 |
--- a/Source/modules/webdatabase/Database.cpp |
+++ b/Source/modules/webdatabase/Database.cpp |
@@ -139,7 +139,7 @@ static bool setTextValueInDatabase(SQLiteDatabase& db, const String& query, cons |
// FIXME: move all guid-related functions to a DatabaseVersionTracker class. |
static RecursiveMutex& guidMutex() |
{ |
- AtomicallyInitializedStatic(RecursiveMutex&, mutex = *new RecursiveMutex); |
+ AtomicallyInitializedStaticReference(RecursiveMutex, mutex, new RecursiveMutex); |
return mutex; |
} |