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

Unified Diff: chrome/browser/web_applications/web_app_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, 9 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/web_app_win.h
diff --git a/chrome/browser/web_applications/web_app_win.h b/chrome/browser/web_applications/web_app_win.h
index 7dba046ff9ba1c3d59b3bf8e6dabec376dc78eea..08bb7047310b4bee518706f62c12766cac45b91c 100644
--- a/chrome/browser/web_applications/web_app_win.h
+++ b/chrome/browser/web_applications/web_app_win.h
@@ -26,8 +26,9 @@ namespace web_app {
// Create a shortcut in the given web app data dir, returning the name of the
// created shortcut.
-base::FilePath CreateShortcutInWebAppDir(const base::FilePath& web_app_path,
- const ShortcutInfo& shortcut_info);
+base::FilePath CreateShortcutInWebAppDir(
+ const base::FilePath& web_app_path,
+ scoped_ptr<ShortcutInfo> shortcut_info);
// Update the relaunch details for the given app's window, making the taskbar
// group's "Pin to the taskbar" button function correctly.

Powered by Google App Engine
This is Rietveld 408576698