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

Unified Diff: chrome/common/safe_browsing/mach_o_image_reader_mac.h

Issue 1880143002: Convert chrome/common 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: chrome/common/safe_browsing/mach_o_image_reader_mac.h
diff --git a/chrome/common/safe_browsing/mach_o_image_reader_mac.h b/chrome/common/safe_browsing/mach_o_image_reader_mac.h
index ea7412693aceb78197c922791904b483204df312..09411e4a99cad2ba1976bdd2085996ea9cc58616 100644
--- a/chrome/common/safe_browsing/mach_o_image_reader_mac.h
+++ b/chrome/common/safe_browsing/mach_o_image_reader_mac.h
@@ -9,11 +9,11 @@
#include <stddef.h>
#include <stdint.h>
+#include <memory>
#include <vector>
#include "base/logging.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
namespace safe_browsing {
@@ -92,7 +92,7 @@ class MachOImageReader {
bool GetCodeSignatureInfo(std::vector<uint8_t>* info);
private:
- scoped_ptr<ByteSlice> data_;
+ std::unique_ptr<ByteSlice> data_;
bool is_fat_;
ScopedVector<MachOImageReader> fat_images_;
« no previous file with comments | « chrome/common/safe_browsing/binary_feature_extractor_unittest.cc ('k') | chrome/common/safe_browsing/pe_image_reader_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698