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

Unified Diff: content/browser/android/java/java_type.cc

Issue 1874893002: Convert //content/browser 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 | « content/browser/android/java/java_type.h ('k') | content/browser/android/java/java_type_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/java/java_type.cc
diff --git a/content/browser/android/java/java_type.cc b/content/browser/android/java/java_type.cc
index 0ebc4f30c8acebc5bc284ec2a444d6c2652f2909..2322cacbd3510e27d69b412ea5416a3cdfd73d3b 100644
--- a/content/browser/android/java/java_type.cc
+++ b/content/browser/android/java/java_type.cc
@@ -12,9 +12,9 @@ namespace {
// Array component type names are similar to JNI type names, except for using
// dots as namespace separators in class names.
-scoped_ptr<JavaType> CreateFromArrayComponentTypeName(
+std::unique_ptr<JavaType> CreateFromArrayComponentTypeName(
const std::string& type_name) {
- scoped_ptr<JavaType> result(new JavaType());
+ std::unique_ptr<JavaType> result(new JavaType());
DCHECK(!type_name.empty());
switch (type_name[0]) {
case 'Z':
« no previous file with comments | « content/browser/android/java/java_type.h ('k') | content/browser/android/java/java_type_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698