| Index: third_party/WebKit/Source/modules/webdatabase/DatabaseAuthorizer.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseAuthorizer.cpp b/third_party/WebKit/Source/modules/webdatabase/DatabaseAuthorizer.cpp
|
| index 353d3b02dff8d0a2071a212eb86a381ba59b7cb3..299008fdbd95fd61085aa9893db3a43b760254cf 100644
|
| --- a/third_party/WebKit/Source/modules/webdatabase/DatabaseAuthorizer.cpp
|
| +++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseAuthorizer.cpp
|
| @@ -30,6 +30,7 @@
|
|
|
| #include "wtf/HashSet.h"
|
| #include "wtf/StdLibExtras.h"
|
| +#include "wtf/Threading.h"
|
| #include "wtf/text/StringHash.h"
|
|
|
| namespace blink {
|
| @@ -65,7 +66,7 @@ using FunctionNameList = HashSet<String, CaseFoldingHash>;
|
|
|
| const FunctionNameList& whitelistedFunctions()
|
| {
|
| - DEFINE_STATIC_LOCAL(FunctionNameList, list, ({
|
| + DEFINE_THREAD_SAFE_STATIC_LOCAL(FunctionNameList, list, new FunctionNameList({
|
| // SQLite functions used to help implement some operations
|
| // ALTER TABLE helpers
|
| "sqlite_rename_table",
|
|
|