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

Unified Diff: chrome/browser/extensions/extension_action_runner.cc

Issue 2257113002: 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: chrome/browser/extensions/extension_action_runner.cc
diff --git a/chrome/browser/extensions/extension_action_runner.cc b/chrome/browser/extensions/extension_action_runner.cc
index 654129f1428077796fcd58edad6329cd269153cb..6230ed707a2d3baf58cd2d512c3a905b0bec6995 100644
--- a/chrome/browser/extensions/extension_action_runner.cc
+++ b/chrome/browser/extensions/extension_action_runner.cc
@@ -357,8 +357,9 @@ void ExtensionActionRunner::ShowBlockedActionBubble(
FROM_HERE,
base::Bind(callback, *default_bubble_close_action_for_testing_));
} else {
- toolbar_actions_bar->ShowToolbarActionBubble(base::WrapUnique(
- new BlockedActionBubbleDelegate(callback, extension->id())));
+ toolbar_actions_bar->ShowToolbarActionBubble(
+ base::MakeUnique<BlockedActionBubbleDelegate>(callback,
+ extension->id()));
}
}
}

Powered by Google App Engine
This is Rietveld 408576698