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

Unified Diff: chrome/test/base/chrome_render_view_test.cc

Issue 2341693002: Re-write many calls to WrapUnique() with MakeUnique() (Closed)
Patch Set: Change std::string() back to "" to fix compile 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
« no previous file with comments | « chrome/service/service_process_prefs.cc ('k') | chrome/test/base/test_browser_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/chrome_render_view_test.cc
diff --git a/chrome/test/base/chrome_render_view_test.cc b/chrome/test/base/chrome_render_view_test.cc
index 443a55bee86eb3699932306ad7296e5dc6d6f9ca..a6f65e7d1e2de833fb8cd21fa5473c55d6a69c9a 100644
--- a/chrome/test/base/chrome_render_view_test.cc
+++ b/chrome/test/base/chrome_render_view_test.cc
@@ -167,8 +167,9 @@ void ChromeRenderViewTest::InitChromeContentRendererClient(
new ChromeExtensionsDispatcherDelegate());
ChromeExtensionsRendererClient* ext_client =
ChromeExtensionsRendererClient::GetInstance();
- ext_client->SetExtensionDispatcherForTest(base::WrapUnique(
- new extensions::Dispatcher(extension_dispatcher_delegate_.get())));
+ ext_client->SetExtensionDispatcherForTest(
+ base::MakeUnique<extensions::Dispatcher>(
+ extension_dispatcher_delegate_.get()));
#endif
#if defined(ENABLE_SPELLCHECK)
client->SetSpellcheck(new SpellCheck());
« no previous file with comments | « chrome/service/service_process_prefs.cc ('k') | chrome/test/base/test_browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698