Index: android_webview/native/aw_contents.cc |
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc |
index 25a8c5885377ae2201de7bf034058db66d9ba10b..21f5540f41e24d541112b6dbd02f51de4929bb88 100644 |
--- a/android_webview/native/aw_contents.cc |
+++ b/android_webview/native/aw_contents.cc |
@@ -234,8 +234,8 @@ void AwContents::SetJavaPeers( |
io_thread_client); |
InterceptNavigationDelegate::Associate( |
- web_contents_.get(), base::WrapUnique(new InterceptNavigationDelegate( |
- env, intercept_navigation_delegate))); |
+ web_contents_.get(), base::MakeUnique<InterceptNavigationDelegate>( |
+ env, intercept_navigation_delegate)); |
// Finally, having setup the associations, release any deferred requests |
for (content::RenderFrameHost* rfh : web_contents_->GetAllFrames()) { |