Index: components/web_contents_delegate_android/web_contents_delegate_android.h |
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.h b/components/web_contents_delegate_android/web_contents_delegate_android.h |
index 6bcc2b7f07993919e92a22932c0e5049ea91e6ac..26568221673f339011c27bde3b154ed5aa591462 100644 |
--- a/components/web_contents_delegate_android/web_contents_delegate_android.h |
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.h |
@@ -7,10 +7,11 @@ |
#include <stdint.h> |
+#include <memory> |
+ |
#include "base/android/jni_weak_ref.h" |
#include "base/android/scoped_java_ref.h" |
#include "base/compiler_specific.h" |
-#include "base/memory/scoped_ptr.h" |
#include "content/public/browser/web_contents_delegate.h" |
class GURL; |
@@ -124,7 +125,7 @@ class WebContentsDelegateAndroid : public content::WebContentsDelegate { |
// on it. Using a weak ref here allows it to be correctly GCed. |
JavaObjectWeakGlobalRef weak_java_delegate_; |
- scoped_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; |
+ std::unique_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; |
}; |
bool RegisterWebContentsDelegateAndroid(JNIEnv* env); |