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

Unified Diff: chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc

Issue 2631873002: [Merge M56] Fig memory corruption during launching an app from shortcut. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
index 2f64b7acd40cd35d8246c0e25b25cfaaa695e06a..cb5a97ec1739b8ce41c745b229e0b0f048db7e67 100644
--- a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
@@ -111,7 +111,7 @@ bool AppShortcutLauncherItemController::IsVisible() const {
void AppShortcutLauncherItemController::Launch(ash::LaunchSource source,
int event_flags) {
- launcher_controller()->LaunchApp(app_id(), source, event_flags);
+ launcher_controller()->LaunchApp(std::string(app_id()), source, event_flags);
}
ash::ShelfItemDelegate::PerformedAction
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698