Index: third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp |
index 46da10f5371ba3262d902bb6f6f9f45986a40430..5b5886e53fbab9f10c28584a257ae23f4d209edf 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp |
@@ -32,6 +32,7 @@ |
#include "third_party/skia/include/core/SkCanvas.h" |
#include "third_party/skia/include/core/SkPicture.h" |
#include "third_party/skia/include/core/SkShader.h" |
+#include <memory> |
namespace blink { |
@@ -69,7 +70,7 @@ TEST(GraphicsContextTest, pictureRecording) |
bitmap.eraseColor(0); |
SkCanvas canvas(bitmap); |
- OwnPtr<PaintController> paintController = PaintController::create(); |
+ std::unique_ptr<PaintController> paintController = PaintController::create(); |
GraphicsContext context(*paintController); |
Color opaque(1.0f, 0.0f, 0.0f, 1.0f); |
@@ -102,7 +103,7 @@ TEST(GraphicsContextTest, UnboundedDrawsAreClipped) |
Color alpha(0.0f, 0.0f, 0.0f, 0.0f); |
FloatRect bounds(0, 0, 100, 100); |
- OwnPtr<PaintController> paintController = PaintController::create(); |
+ std::unique_ptr<PaintController> paintController = PaintController::create(); |
GraphicsContext context(*paintController); |
context.beginRecording(bounds); |