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

Unified Diff: chrome/browser/ui/cocoa/create_application_shortcut_cocoa.mm

Issue 2721553002: Make web_app::ShortcutInfo RefCountedThreadSafe (1) (Closed)
Patch Set: TestBrowserThreadBundle for mac test fix Created 3 years, 10 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/ui/cocoa/create_application_shortcut_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/create_application_shortcut_cocoa.mm b/chrome/browser/ui/cocoa/create_application_shortcut_cocoa.mm
index a46a263a568158c5c33a1e7da0a77556e18700f3..2a74510f7cba219ac7d148b98924d46b0949dccd 100644
--- a/chrome/browser/ui/cocoa/create_application_shortcut_cocoa.mm
+++ b/chrome/browser/ui/cocoa/create_application_shortcut_cocoa.mm
@@ -62,7 +62,7 @@ void CreateAppShortcutInfoLoaded(
Profile* profile,
const extensions::Extension* app,
const base::Callback<void(bool)>& close_callback,
- std::unique_ptr<web_app::ShortcutInfo> shortcut_info) {
+ scoped_refptr<web_app::ShortcutInfo> shortcut_info) {
base::scoped_nsobject<NSAlert> alert([[NSAlert alloc] init]);
NSButton* continue_button = [alert

Powered by Google App Engine
This is Rietveld 408576698