Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasFontCacheTest.cpp

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698