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

Unified Diff: content/browser/compositor/surface_utils.h

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: content/browser/compositor/surface_utils.h
diff --git a/content/browser/compositor/surface_utils.h b/content/browser/compositor/surface_utils.h
index 6d986a9c8caea00c72cfe8470c03120e5ebf588b..54f7a32fd33c70a02a0136f4c66018186d4f8128 100644
--- a/content/browser/compositor/surface_utils.h
+++ b/content/browser/compositor/surface_utils.h
@@ -5,7 +5,8 @@
#ifndef CONTENT_BROWSER_COMPOSITOR_SURFACE_UTILS_H_
#define CONTENT_BROWSER_COMPOSITOR_SURFACE_UTILS_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "content/common/content_export.h"
#include "content/public/browser/readback_types.h"
#include "third_party/skia/include/core/SkImageInfo.h"
@@ -19,7 +20,7 @@ class SurfaceManager;
namespace content {
-scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator();
+std::unique_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator();
CONTENT_EXPORT
cc::SurfaceManager* GetSurfaceManager();
@@ -28,7 +29,7 @@ void CopyFromCompositingSurfaceHasResult(
const gfx::Size& dst_size_in_pixel,
const SkColorType color_type,
const ReadbackRequestCallback& callback,
- scoped_ptr<cc::CopyOutputResult> result);
+ std::unique_ptr<cc::CopyOutputResult> result);
} // namespace content
« no previous file with comments | « content/browser/compositor/software_output_device_win.h ('k') | content/browser/compositor/surface_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698