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

Unified Diff: chrome/utility/cloud_print/bitmap_image.h

Issue 1899083002: Convert //chrome 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 | « chrome/utility/chrome_content_utility_client.cc ('k') | chrome/utility/cloud_print/pwg_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/cloud_print/bitmap_image.h
diff --git a/chrome/utility/cloud_print/bitmap_image.h b/chrome/utility/cloud_print/bitmap_image.h
index 3692755cb206229cf119af330c7a3ce7539b0f1c..2988588d10d837779de293d0293a4cf6b762060e 100644
--- a/chrome/utility/cloud_print/bitmap_image.h
+++ b/chrome/utility/cloud_print/bitmap_image.h
@@ -7,8 +7,9 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/size.h"
@@ -37,7 +38,7 @@ class BitmapImage {
private:
gfx::Size size_;
Colorspace colorspace_;
- scoped_ptr<uint8_t[]> data_;
+ std::unique_ptr<uint8_t[]> data_;
DISALLOW_COPY_AND_ASSIGN(BitmapImage);
};
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | chrome/utility/cloud_print/pwg_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698