| Index: third_party/WebKit/Source/core/css/CSSValuePool.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSValuePool.cpp b/third_party/WebKit/Source/core/css/CSSValuePool.cpp
|
| index 976975491817808808a111829a18feb2ba3473eb..35dae10735ee39430bc1f16b68edc9a09fb08a1b 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSValuePool.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSValuePool.cpp
|
| @@ -38,8 +38,8 @@ CSSValuePool& cssValuePool()
|
| DEFINE_THREAD_SAFE_STATIC_LOCAL(ThreadSpecific<Persistent<CSSValuePool>>, threadSpecificPool, new ThreadSpecific<Persistent<CSSValuePool>>());
|
| Persistent<CSSValuePool>& poolHandle = *threadSpecificPool;
|
| if (!poolHandle) {
|
| - poolHandle = new CSSValuePool();
|
| - poolHandle.clearOnThreadShutdown();
|
| + poolHandle = new CSSValuePool;
|
| + poolHandle.registerAsStaticReference();
|
| }
|
| return *poolHandle;
|
| }
|
|
|