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

Unified Diff: content/renderer/pepper/pepper_video_destination_host.h

Issue 1873783003: Convert //content/renderer 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/renderer/pepper/pepper_video_destination_host.h
diff --git a/content/renderer/pepper/pepper_video_destination_host.h b/content/renderer/pepper/pepper_video_destination_host.h
index 75208a7f8e97c13bee128df14ce8b4cec0dde971..9f9f8a0f3c35297dbbf752bf049452e589520269 100644
--- a/content/renderer/pepper/pepper_video_destination_host.h
+++ b/content/renderer/pepper/pepper_video_destination_host.h
@@ -7,9 +7,10 @@
#include <stdint.h>
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "content/common/content_export.h"
#include "content/renderer/media/pepper_to_video_track_adapter.h"
@@ -41,7 +42,7 @@ class CONTENT_EXPORT PepperVideoDestinationHost
PP_TimeTicks timestamp);
int32_t OnHostMsgClose(ppapi::host::HostMessageContext* context);
- scoped_ptr<FrameWriterInterface> frame_writer_;
+ std::unique_ptr<FrameWriterInterface> frame_writer_;
// Used for checking that timestamps are strictly increasing.
#if DCHECK_IS_ON()
bool has_received_frame_;
« no previous file with comments | « content/renderer/pepper/pepper_video_decoder_host.cc ('k') | content/renderer/pepper/pepper_video_encoder_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698