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

Unified Diff: chrome/browser/android/tab_android.cc

Issue 2334613003: Re-write many calls to WrapUnique() with MakeUnique() (Closed)
Patch Set: Changes from review by sky Created 4 years, 3 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: chrome/browser/android/tab_android.cc
diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc
index f487e738478942d7b14ac7b6c3f2677687c1e09e..34dd08784d6b27ae30a133a2379b5dbd59bd0f50 100644
--- a/chrome/browser/android/tab_android.cc
+++ b/chrome/browser/android/tab_android.cc
@@ -869,7 +869,7 @@ void TabAndroid::SetInterceptNavigationDelegate(
DCHECK_CURRENTLY_ON(BrowserThread::UI);
InterceptNavigationDelegate::Associate(
web_contents(),
- base::WrapUnique(new ChromeInterceptNavigationDelegate(env, delegate)));
+ base::MakeUnique<ChromeInterceptNavigationDelegate>(env, delegate));
}
void TabAndroid::AttachToTabContentManager(

Powered by Google App Engine
This is Rietveld 408576698