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

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

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
Index: content/browser/android/java/java_type.h
diff --git a/content/browser/android/java/java_type.h b/content/browser/android/java/java_type.h
index ee8e01a8ae8e0b92408b4d07040048efef6e81a4..e5b9db53ffdf1eae053d140a9a14ac8136911352 100644
--- a/content/browser/android/java/java_type.h
+++ b/content/browser/android/java/java_type.h
@@ -5,10 +5,10 @@
#ifndef CONTENT_BROWSER_ANDROID_JAVA_JAVA_TYPE_H_
#define CONTENT_BROWSER_ANDROID_JAVA_JAVA_TYPE_H_
+#include <memory>
#include <string>
#include "base/android/scoped_java_ref.h"
-#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
namespace content {
@@ -49,7 +49,7 @@ struct CONTENT_EXPORT JavaType {
};
Type type;
- scoped_ptr<JavaType> inner_type; // Used for TypeArray only.
+ std::unique_ptr<JavaType> inner_type; // Used for TypeArray only.
std::string class_jni_name; // Used for TypeString and TypeObject only.
base::android::ScopedJavaGlobalRef<jclass> class_ref; // TypeObject only.
};
« no previous file with comments | « content/browser/android/java/gin_java_script_to_java_types_coercion.cc ('k') | content/browser/android/java/java_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698