| Index: third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
|
| index 35c241c8ef912f2ddebc27f7d7a197bc78d7803a..789d035ba0cfc38e5e6149d3b4d8b65175525c80 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
|
| @@ -30,6 +30,7 @@
|
| #include "core/style/ComputedStyle.h"
|
| #include "platform/LayoutUnit.h"
|
| #include "platform/fonts/FontMetrics.h"
|
| +#include "wtf/LeakAnnotations.h"
|
| #include "wtf/StdLibExtras.h"
|
| #include "wtf/ThreadSpecific.h"
|
| #include "wtf/Threading.h"
|
| @@ -160,6 +161,7 @@ bool CSSPrimitiveValue::colorIsDerivedFromElement() const
|
| using CSSTextCache = WillBePersistentHeapHashMap<RawPtrWillBeWeakMember<const CSSPrimitiveValue>, String>;
|
| static CSSTextCache& cssTextCache()
|
| {
|
| + WTF_ANNOTATE_SCOPED_MEMORY_LEAK;
|
| AtomicallyInitializedStaticReference(ThreadSpecific<CSSTextCache>, cache, new ThreadSpecific<CSSTextCache>());
|
| return *cache;
|
| }
|
|
|