Replace scoped_ptr with std::unique_ptr in //ui

R=sadrul, sky
TBR=bshe,aelias,rockot,piman,achuith,reveman
BUG=554298
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1868363002

Cr-Commit-Position: refs/heads/master@{#386812}
diff --git a/ui/gfx/gdi_util.cc b/ui/gfx/gdi_util.cc
index be5d134..24000ae 100644
--- a/ui/gfx/gdi_util.cc
+++ b/ui/gfx/gdi_util.cc
@@ -7,9 +7,9 @@
 #include <stddef.h>
 
 #include <algorithm>
+#include <memory>
 
 #include "base/logging.h"
-#include "base/memory/scoped_ptr.h"
 
 namespace {
 
@@ -80,9 +80,9 @@
 
 HRGN ConvertPathToHRGN(const gfx::Path& path) {
   int point_count = path.getPoints(NULL, 0);
-  scoped_ptr<SkPoint[]> points(new SkPoint[point_count]);
+  std::unique_ptr<SkPoint[]> points(new SkPoint[point_count]);
   path.getPoints(points.get(), point_count);
-  scoped_ptr<POINT[]> windows_points(new POINT[point_count]);
+  std::unique_ptr<POINT[]> windows_points(new POINT[point_count]);
   for (int i = 0; i < point_count; ++i) {
     windows_points[i].x = SkScalarRoundToInt(points[i].fX);
     windows_points[i].y = SkScalarRoundToInt(points[i].fY);