| Index: android_webview/native/aw_settings.cc
|
| diff --git a/android_webview/native/aw_settings.cc b/android_webview/native/aw_settings.cc
|
| index 03656fe05a2775dbe9cc40019946f45afb1c2834..e59653353758f9f69bd8fd3ed0110ea659400436 100644
|
| --- a/android_webview/native/aw_settings.cc
|
| +++ b/android_webview/native/aw_settings.cc
|
| @@ -11,6 +11,7 @@
|
| #include "base/android/jni_android.h"
|
| #include "base/android/jni_string.h"
|
| #include "base/macros.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/supports_user_data.h"
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| @@ -80,7 +81,7 @@ AwSettings::AwSettings(JNIEnv* env,
|
| renderer_prefs_initialized_(false),
|
| aw_settings_(env, obj) {
|
| web_contents->SetUserData(kAwSettingsUserDataKey,
|
| - new AwSettingsUserData(this));
|
| + base::MakeUnique<AwSettingsUserData>(this));
|
| }
|
|
|
| AwSettings::~AwSettings() {
|
|
|