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

Unified Diff: webrtc/media/base/videoframefactory.cc

Issue 1728503002: Replace scoped_ptr with unique_ptr in webrtc/media/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@up1
Patch Set: Created 4 years, 10 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 | « webrtc/media/base/videoframefactory.h ('k') | webrtc/media/devices/carbonvideorenderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/base/videoframefactory.cc
diff --git a/webrtc/media/base/videoframefactory.cc b/webrtc/media/base/videoframefactory.cc
index fde58134bd5e1167cefe58c929fbe38cdd59a81b..0e470675b32fc3c710fb759d43d455be2c9e8243 100644
--- a/webrtc/media/base/videoframefactory.cc
+++ b/webrtc/media/base/videoframefactory.cc
@@ -21,7 +21,7 @@ VideoFrame* VideoFrameFactory::CreateAliasedFrame(
int cropped_input_height,
int output_width,
int output_height) const {
- rtc::scoped_ptr<VideoFrame> cropped_input_frame(CreateAliasedFrame(
+ std::unique_ptr<VideoFrame> cropped_input_frame(CreateAliasedFrame(
input_frame, cropped_input_width, cropped_input_height));
if (!cropped_input_frame)
return nullptr;
« no previous file with comments | « webrtc/media/base/videoframefactory.h ('k') | webrtc/media/devices/carbonvideorenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698