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

Unified Diff: extensions/shell/browser/shell_native_app_window_aura_unittest.cc

Issue 2252373002: 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: extensions/shell/browser/shell_native_app_window_aura_unittest.cc
diff --git a/extensions/shell/browser/shell_native_app_window_aura_unittest.cc b/extensions/shell/browser/shell_native_app_window_aura_unittest.cc
index d09f9f16dd191a1e86002ecc65623205caa9c01d..1a4a1dd76cfa41792f6820b11bca219e108b732e 100644
--- a/extensions/shell/browser/shell_native_app_window_aura_unittest.cc
+++ b/extensions/shell/browser/shell_native_app_window_aura_unittest.cc
@@ -55,7 +55,7 @@ TEST_F(ShellNativeAppWindowAuraTest, Bounds) {
content::WebContents* web_contents = content::WebContents::Create(
content::WebContents::CreateParams(browser_context.get()));
app_window->SetAppWindowContentsForTesting(
- base::WrapUnique(new TestAppWindowContents(web_contents)));
+ base::MakeUnique<TestAppWindowContents>(web_contents));
AppWindow::BoundsSpecification window_spec;
window_spec.bounds = gfx::Rect(100, 200, 300, 400);

Powered by Google App Engine
This is Rietveld 408576698