Index: content/browser/android/content_view_core_impl.cc |
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc |
index d4bc3f810952cd1795dec2f01f3071aaa089a74b..c38828a5eafa178f98f2e300e872d1d32116ceab 100644 |
--- a/content/browser/android/content_view_core_impl.cc |
+++ b/content/browser/android/content_view_core_impl.cc |
@@ -13,6 +13,7 @@ |
#include "base/command_line.h" |
#include "base/logging.h" |
#include "base/macros.h" |
+#include "base/memory/ptr_util.h" |
#include "base/metrics/histogram_macros.h" |
#include "base/metrics/user_metrics.h" |
#include "base/strings/string_util.h" |
@@ -325,7 +326,7 @@ void ContentViewCoreImpl::InitWebContents() { |
SetContentViewCore(this); |
DCHECK(!web_contents_->GetUserData(kContentViewUserDataKey)); |
web_contents_->SetUserData(kContentViewUserDataKey, |
- new ContentViewUserData(this)); |
+ base::MakeUnique<ContentViewUserData>(this)); |
} |
void ContentViewCoreImpl::RenderViewReady() { |