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

Unified Diff: components/bitmap_uploader/bitmap_uploader.cc

Issue 1921973002: Convert //components/[a-e]* 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: components/bitmap_uploader/bitmap_uploader.cc
diff --git a/components/bitmap_uploader/bitmap_uploader.cc b/components/bitmap_uploader/bitmap_uploader.cc
index 1b8a07369a3a6a18e5a74314150508475c424019..869ae84719e4563f419497791e28838b3dda8447 100644
--- a/components/bitmap_uploader/bitmap_uploader.cc
+++ b/components/bitmap_uploader/bitmap_uploader.cc
@@ -71,7 +71,7 @@ void BitmapUploader::SetColor(uint32_t color) {
// Sets a bitmap.
void BitmapUploader::SetBitmap(int width,
int height,
- scoped_ptr<std::vector<unsigned char>> data,
+ std::unique_ptr<std::vector<unsigned char>> data,
Format format) {
width_ = width;
height_ = height;
« no previous file with comments | « components/bitmap_uploader/bitmap_uploader.h ('k') | components/browser_watcher/window_hang_monitor_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698