Skip to content
Permalink
Browse files
Regression(r294611): ASSERTION FAILED: m_isConstructed under WebCore:…
…:fullyQualifiedInfoTableName()

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

Unreviewed, use LazyNeverDestroyed::construct() instead of assignment to LazyNeverDestroyed::get()
to address the debug assertion on the bots.

* Source/WebCore/Modules/webdatabase/Database.cpp:
(WebCore::fullyQualifiedInfoTableName):

Canonical link: https://commits.webkit.org/250869@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
cdumez committed May 23, 2022
1 parent 0e74eca commit 9ab1f26b49916ae9a40af7b77ba2e41b9e78c4c1
Showing 1 changed file with 1 addition and 1 deletion.
@@ -100,7 +100,7 @@ static const String& fullyQualifiedInfoTableName()
static LazyNeverDestroyed<String> qualifiedName;
static std::once_flag onceFlag;
std::call_once(onceFlag, [] {
qualifiedName.get() = MAKE_STATIC_STRING_IMPL("main.__WebKitDatabaseInfoTable__");
qualifiedName.construct(MAKE_STATIC_STRING_IMPL("main.__WebKitDatabaseInfoTable__"));
});
return qualifiedName;
}

0 comments on commit 9ab1f26

Please sign in to comment.