| Index: third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
|
| index a580d8aa6e11e651f54f689d1993cdf61d109276..cc641808684bcb19b9db1164b1c765ef08e30d95 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
|
| @@ -40,7 +40,7 @@ CanvasFontCache::CanvasFontCache(Document& document)
|
|
|
| CanvasFontCache::~CanvasFontCache()
|
| {
|
| - m_mainCachePurgePreventer.clear();
|
| + m_mainCachePurgePreventer.reset();
|
| if (m_pruningScheduled) {
|
| Platform::current()->currentThread()->removeTaskObserver(this);
|
| }
|
| @@ -124,7 +124,7 @@ void CanvasFontCache::didProcessTask()
|
| m_fontsResolvedUsingDefaultStyle.remove(m_fontLRUList.first());
|
| m_fontLRUList.removeFirst();
|
| }
|
| - m_mainCachePurgePreventer.clear();
|
| + m_mainCachePurgePreventer.reset();
|
| Platform::current()->currentThread()->removeTaskObserver(this);
|
| m_pruningScheduled = false;
|
| }
|
|
|