| Index: Source/platform/heap/Visitor.h
|
| diff --git a/Source/platform/heap/Visitor.h b/Source/platform/heap/Visitor.h
|
| index 32dc5051cd92ff88286991c816612987ba177f9a..cb85371e7f8c2c1347d5740549ca466a4c739794 100644
|
| --- a/Source/platform/heap/Visitor.h
|
| +++ b/Source/platform/heap/Visitor.h
|
| @@ -41,11 +41,10 @@
|
| #include "wtf/Forward.h"
|
| #include "wtf/HashMap.h"
|
| #include "wtf/HashTraits.h"
|
| -#include "wtf/TypeTraits.h"
|
| -#if ENABLE(GC_PROFILING)
|
| #include "wtf/InstanceCounter.h"
|
| +#include "wtf/Threading.h"
|
| +#include "wtf/TypeTraits.h"
|
| #include "wtf/text/WTFString.h"
|
| -#endif
|
|
|
| namespace blink {
|
|
|
| @@ -391,7 +390,7 @@ struct TypenameStringTrait {
|
| // This method is not thread safe.
|
| static const String& get()
|
| {
|
| - DEFINE_STATIC_LOCAL(String, typenameString, (WTF::extractTypeNameFromFunctionName(WTF::extractNameFunction<T>())));
|
| + AtomicallyInitializedStaticReference(AtomicString, typenameString, new AtomicString(WTF::extractTypeNameFromFunctionName(WTF::extractNameFunction<T>())));
|
| return typenameString;
|
| }
|
| };
|
|
|