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

Unified Diff: components/undo/undo_manager_test.cc

Issue 2257793002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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: components/undo/undo_manager_test.cc
diff --git a/components/undo/undo_manager_test.cc b/components/undo/undo_manager_test.cc
index 19bbdc330715c2dabf89a5f61c37b486f0eb4279..eea15985faba36256d53fbfd6007254b66cda3fb 100644
--- a/components/undo/undo_manager_test.cc
+++ b/components/undo/undo_manager_test.cc
@@ -88,7 +88,7 @@ void TestUndoService::Redo() {
}
void TestUndoService::TriggerOperation() {
- undo_manager_.AddUndoOperation(base::WrapUnique(new TestUndoOperation(this)));
+ undo_manager_.AddUndoOperation(base::MakeUnique<TestUndoOperation>(this));
}
void TestUndoService::RecordUndoCall() {
« no previous file with comments | « components/translate/core/browser/translate_ui_delegate_unittest.cc ('k') | components/url_matcher/url_matcher_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698