use std::make_unique
Change-Id: I7c672ff6b8eb95ec8c1123a5bfdb202e1644f494
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/259281
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
diff --git a/gm/rasterhandleallocator.cpp b/gm/rasterhandleallocator.cpp
index 3a549b8..3e3b597 100644
--- a/gm/rasterhandleallocator.cpp
+++ b/gm/rasterhandleallocator.cpp
@@ -11,7 +11,6 @@
#include "include/core/SkPixmap.h"
#include "include/core/SkRasterHandleAllocator.h"
#include "include/core/SkSurface.h"
-#include "src/core/SkMakeUnique.h"
class GraphicsPort {
protected:
@@ -298,7 +297,7 @@
const SkImageInfo info = SkImageInfo::MakeN32Premul(256, 256);
std::unique_ptr<SkCanvas> nativeCanvas =
- SkRasterHandleAllocator::MakeCanvas(skstd::make_unique<MyAllocator>(), info);
+ SkRasterHandleAllocator::MakeCanvas(std::make_unique<MyAllocator>(), info);
MyPort nativePort(nativeCanvas.get());
doDraw(&nativePort);