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

Unified Diff: ppapi/proxy/camera_capabilities_resource.h

Issue 1864293002: Convert //ppapi to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more nullptr 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
« no previous file with comments | « ppapi/proxy/audio_input_resource.h ('k') | ppapi/proxy/device_enumeration_resource_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/camera_capabilities_resource.h
diff --git a/ppapi/proxy/camera_capabilities_resource.h b/ppapi/proxy/camera_capabilities_resource.h
index 14431ce16fe7a625770433b8c200493560774df3..ba92d4ae4c428e8d061b245051f04945e760fc50 100644
--- a/ppapi/proxy/camera_capabilities_resource.h
+++ b/ppapi/proxy/camera_capabilities_resource.h
@@ -8,10 +8,10 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ppapi/proxy/ppapi_proxy_export.h"
#include "ppapi/shared_impl/resource.h"
#include "ppapi/thunk/ppb_camera_capabilities_api.h"
@@ -38,7 +38,7 @@ class PPAPI_PROXY_EXPORT CameraCapabilitiesResource
private:
size_t num_video_capture_formats_;
- scoped_ptr<PP_VideoCaptureFormat[]> video_capture_formats_;
+ std::unique_ptr<PP_VideoCaptureFormat[]> video_capture_formats_;
DISALLOW_COPY_AND_ASSIGN(CameraCapabilitiesResource);
};
« no previous file with comments | « ppapi/proxy/audio_input_resource.h ('k') | ppapi/proxy/device_enumeration_resource_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698