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