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

Unified Diff: ppapi/host/host_factory.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 | « content/renderer/pepper/pepper_media_stream_video_track_host.cc ('k') | ppapi/host/ppapi_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/host/host_factory.h
diff --git a/ppapi/host/host_factory.h b/ppapi/host/host_factory.h
index e2dcce7a7322ec3682f6b1159a4446cabe3f4ff0..0beaa4c8d0adc6498f822e6f672ae62490aeafa2 100644
--- a/ppapi/host/host_factory.h
+++ b/ppapi/host/host_factory.h
@@ -5,7 +5,8 @@
#ifndef PPAPI_HOST_HOST_FACTORY_H_
#define PPAPI_HOST_HOST_FACTORY_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_resource.h"
@@ -31,7 +32,7 @@ class HostFactory {
public:
virtual ~HostFactory() {}
- virtual scoped_ptr<ResourceHost> CreateResourceHost(
+ virtual std::unique_ptr<ResourceHost> CreateResourceHost(
PpapiHost* host,
PP_Resource resource,
PP_Instance instance,
« no previous file with comments | « content/renderer/pepper/pepper_media_stream_video_track_host.cc ('k') | ppapi/host/ppapi_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698