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

Unified Diff: ash/wm/overview/scoped_overview_animation_settings_factory_aura.cc

Issue 2257763002: 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
« no previous file with comments | « ash/wm/lock_state_controller_unittest.cc ('k') | ash/wm/window_mirror_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/scoped_overview_animation_settings_factory_aura.cc
diff --git a/ash/wm/overview/scoped_overview_animation_settings_factory_aura.cc b/ash/wm/overview/scoped_overview_animation_settings_factory_aura.cc
index fbce92e3e2e42dcf4dee26edff295c3dbe3fca21..8fe6d8b4ccb6f83e001c42ec7fff7865b9413b5c 100644
--- a/ash/wm/overview/scoped_overview_animation_settings_factory_aura.cc
+++ b/ash/wm/overview/scoped_overview_animation_settings_factory_aura.cc
@@ -20,8 +20,8 @@ std::unique_ptr<ScopedOverviewAnimationSettings>
ScopedOverviewAnimationSettingsFactoryAura::CreateOverviewAnimationSettings(
OverviewAnimationType animation_type,
WmWindow* window) {
- return base::WrapUnique(new ScopedOverviewAnimationSettingsAura(
- animation_type, WmWindowAura::GetAuraWindow(window)));
+ return base::MakeUnique<ScopedOverviewAnimationSettingsAura>(
+ animation_type, WmWindowAura::GetAuraWindow(window));
}
} // namespace ash
« no previous file with comments | « ash/wm/lock_state_controller_unittest.cc ('k') | ash/wm/window_mirror_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698