| 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 cc641808684bcb19b9db1164b1c765ef08e30d95..a6da4a2eea626e3f9db883cefe145ba285d3401f 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp
|
| @@ -10,6 +10,7 @@
|
| #include "core/style/ComputedStyle.h"
|
| #include "platform/fonts/FontCache.h"
|
| #include "public/platform/Platform.h"
|
| +#include "wtf/PtrUtil.h"
|
|
|
| namespace {
|
|
|
| @@ -134,7 +135,7 @@ void CanvasFontCache::schedulePruningIfNeeded()
|
| if (m_pruningScheduled)
|
| return;
|
| ASSERT(!m_mainCachePurgePreventer);
|
| - m_mainCachePurgePreventer = adoptPtr(new FontCachePurgePreventer);
|
| + m_mainCachePurgePreventer = wrapUnique(new FontCachePurgePreventer);
|
| Platform::current()->currentThread()->addTaskObserver(this);
|
| m_pruningScheduled = true;
|
| }
|
|
|