Title: [294645] trunk/Source/WebCore/Modules/webdatabase/Database.cpp
- Revision
- 294645
- Author
- [email protected]
- Date
- 2022-05-23 09:04:24 -0700 (Mon, 23 May 2022)
Log Message
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
Modified Paths
Diff
Modified: trunk/Source/WebCore/Modules/webdatabase/Database.cpp (294644 => 294645)
--- trunk/Source/WebCore/Modules/webdatabase/Database.cpp 2022-05-23 15:58:50 UTC (rev 294644)
+++ trunk/Source/WebCore/Modules/webdatabase/Database.cpp 2022-05-23 16:04:24 UTC (rev 294645)
@@ -100,7 +100,7 @@
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;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes