Index: third_party/WebKit/Source/core/html/canvas/CanvasFontCacheTest.cpp |
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasFontCacheTest.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasFontCacheTest.cpp |
index 462df0ede60b81d6be5f8a023c9163f74b8e1e96..ffd08f2ecc234ddc6b69a316bd86211c93aa4c4e 100644 |
--- a/third_party/WebKit/Source/core/html/canvas/CanvasFontCacheTest.cpp |
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasFontCacheTest.cpp |
@@ -13,6 +13,7 @@ |
#include "platform/graphics/UnacceleratedImageBufferSurface.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include <memory> |
using ::testing::Mock; |
@@ -30,7 +31,7 @@ protected: |
CanvasFontCache* cache() { return m_document->canvasFontCache(); } |
private: |
- OwnPtr<DummyPageHolder> m_dummyPageHolder; |
+ std::unique_ptr<DummyPageHolder> m_dummyPageHolder; |
Persistent<HTMLDocument> m_document; |
Persistent<HTMLCanvasElement> m_canvasElement; |
}; |