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

Unified Diff: chrome/browser/web_applications/update_shortcut_worker_win.h

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/web_applications/update_shortcut_worker_win.h
diff --git a/chrome/browser/web_applications/update_shortcut_worker_win.h b/chrome/browser/web_applications/update_shortcut_worker_win.h
index 52857b187c33a3bc3a8f00845a1de56aa3a39f12..ac7fe9a3197094d4d0c5a5abc5569d3a9cb41a97 100644
--- a/chrome/browser/web_applications/update_shortcut_worker_win.h
+++ b/chrome/browser/web_applications/update_shortcut_worker_win.h
@@ -72,7 +72,7 @@ class UpdateShortcutWorker : public content::NotificationObserver {
web_app::IconInfoList unprocessed_icons_;
// Cached shortcut data from the web_contents_.
- std::unique_ptr<web_app::ShortcutInfo> shortcut_info_;
+ scoped_refptr<web_app::ShortcutInfo> shortcut_info_;
// Our copy of profile path.
base::FilePath profile_path_;

Powered by Google App Engine
This is Rietveld 408576698