Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1631)

Unified Diff: android_webview/native/aw_contents.cc

Issue 2258823002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()) {
« no previous file with comments | « android_webview/native/android_protocol_handler.cc ('k') | android_webview/native/aw_contents_client_bridge_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698