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

Unified Diff: ui/views/test/combobox_test_api.cc

Issue 2259753003: 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 | « ui/views/style/platform_style_mac.mm ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/combobox_test_api.cc
diff --git a/ui/views/test/combobox_test_api.cc b/ui/views/test/combobox_test_api.cc
index 088885f74c52af520231a78052fadf657f29929e..b084ca8f78bd74543041f506bae3d33f9a798c65 100644
--- a/ui/views/test/combobox_test_api.cc
+++ b/ui/views/test/combobox_test_api.cc
@@ -51,7 +51,7 @@ void ComboboxTestApi::InstallTestMenuRunner(int* menu_show_count) {
new MenuRunner(menu_model(), MenuRunner::COMBOBOX));
test::MenuRunnerTestAPI test_api(combobox_->menu_runner_.get());
test_api.SetMenuRunnerHandler(
- base::WrapUnique(new TestMenuRunnerHandler(menu_show_count)));
+ base::MakeUnique<TestMenuRunnerHandler>(menu_show_count));
}
gfx::Size ComboboxTestApi::content_size() {
« no previous file with comments | « ui/views/style/platform_style_mac.mm ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698