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

Unified Diff: ios/chrome/browser/crash_report/crash_report_multi_parameter.mm

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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: ios/chrome/browser/crash_report/crash_report_multi_parameter.mm
diff --git a/ios/chrome/browser/crash_report/crash_report_multi_parameter.mm b/ios/chrome/browser/crash_report/crash_report_multi_parameter.mm
index 052fa78e1a55075de4070b1dc702d6f918719a6a..8fded8fbfe6f019fa70f4f6779e28dd7904de28e 100644
--- a/ios/chrome/browser/crash_report/crash_report_multi_parameter.mm
+++ b/ios/chrome/browser/crash_report/crash_report_multi_parameter.mm
@@ -4,10 +4,11 @@
#import "ios/chrome/browser/crash_report/crash_report_multi_parameter.h"
+#include <memory>
+
#include "base/json/json_writer.h"
#include "base/logging.h"
#import "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/sys_string_conversions.h"
#include "base/values.h"
#import "ios/chrome/browser/crash_report/breakpad_helper.h"
@@ -21,7 +22,7 @@ const int kMaximumBreakpadValueSize = 255;
@implementation CrashReportMultiParameter {
base::scoped_nsobject<NSString> crashReportKey_;
- scoped_ptr<base::DictionaryValue> dictionary_;
+ std::unique_ptr<base::DictionaryValue> dictionary_;
}
- (instancetype)init {

Powered by Google App Engine
This is Rietveld 408576698