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

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

Issue 1038573002: Fixed thread-unsafe use of gfx::Image in app shortcut creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 8 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 1169ee329edd36c181df77a422869d4305a13e0d..62fc6b7841572685ac5daa9b844ababa3b2245d2 100644
--- a/chrome/browser/web_applications/update_shortcut_worker_win.h
+++ b/chrome/browser/web_applications/update_shortcut_worker_win.h
@@ -70,7 +70,7 @@ class UpdateShortcutWorker : public content::NotificationObserver {
web_app::IconInfoList unprocessed_icons_;
// Cached shortcut data from the web_contents_.
- web_app::ShortcutInfo shortcut_info_;
+ scoped_ptr<web_app::ShortcutInfo> shortcut_info_;
// Our copy of profile path.
base::FilePath profile_path_;

Powered by Google App Engine
This is Rietveld 408576698