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

Unified Diff: chrome/browser/ui/views/create_application_shortcut_view.cc

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/views/create_application_shortcut_view.cc
diff --git a/chrome/browser/ui/views/create_application_shortcut_view.cc b/chrome/browser/ui/views/create_application_shortcut_view.cc
index bff826ccb08c5173f763a9f83f3f334b02a102cc..0b88d8a409a85065dccb5081d699cab13a6b585b 100644
--- a/chrome/browser/ui/views/create_application_shortcut_view.cc
+++ b/chrome/browser/ui/views/create_application_shortcut_view.cc
@@ -542,6 +542,6 @@ bool CreateChromeApplicationShortcutView::Cancel() {
}
void CreateChromeApplicationShortcutView::OnAppInfoLoaded(
- std::unique_ptr<web_app::ShortcutInfo> shortcut_info) {
+ scoped_refptr<web_app::ShortcutInfo> shortcut_info) {
shortcut_info_ = std::move(shortcut_info);
}

Powered by Google App Engine
This is Rietveld 408576698