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

Unified Diff: media/blink/url_index.cc

Issue 1904253002: Convert //media/blink 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
« no previous file with comments | « media/blink/url_index.h ('k') | media/blink/video_frame_compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/url_index.cc
diff --git a/media/blink/url_index.cc b/media/blink/url_index.cc
index 5f3f6f63698d1447c26e2e43b1a095ef7547ae47..b828b9a670704d50d3843e926fe78bd6529749a0 100644
--- a/media/blink/url_index.cc
+++ b/media/blink/url_index.cc
@@ -22,12 +22,12 @@ ResourceMultiBuffer::ResourceMultiBuffer(UrlData* url_data, int block_shift)
ResourceMultiBuffer::~ResourceMultiBuffer() {}
-scoped_ptr<MultiBuffer::DataProvider> ResourceMultiBuffer::CreateWriter(
+std::unique_ptr<MultiBuffer::DataProvider> ResourceMultiBuffer::CreateWriter(
const MultiBufferBlockId& pos) {
ResourceMultiBufferDataProvider* ret =
new ResourceMultiBufferDataProvider(url_data_, pos);
ret->Start();
- return scoped_ptr<MultiBuffer::DataProvider>(ret);
+ return std::unique_ptr<MultiBuffer::DataProvider>(ret);
}
bool ResourceMultiBuffer::RangeSupported() const {
« no previous file with comments | « media/blink/url_index.h ('k') | media/blink/video_frame_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698