Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 18572e8f4826a6f64bdc6c2af133abee283e5ab9..c89a37450514c4efc3f067e7c9820ae9fabe3157 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -5194,7 +5194,7 @@ WebContentsAndroid* WebContentsImpl::GetWebContentsAndroid() { |
static_cast<WebContentsAndroid*>(GetUserData(kWebContentsAndroidKey)); |
if (!web_contents_android) { |
web_contents_android = new WebContentsAndroid(this); |
- SetUserData(kWebContentsAndroidKey, web_contents_android); |
+ SetUserData(kWebContentsAndroidKey, base::WrapUnique(web_contents_android)); |
} |
return web_contents_android; |
} |