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

Unified Diff: ash/shelf/app_list_shelf_item_delegate.cc

Issue 2869473002: Fix crash on openning settings when DCHECK is on. (Closed)
Patch Set: up Created 3 years, 7 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: ash/shelf/app_list_shelf_item_delegate.cc
diff --git a/ash/shelf/app_list_shelf_item_delegate.cc b/ash/shelf/app_list_shelf_item_delegate.cc
index 559c2dd6431442bfc0133fc386d2a9ee0fb543fb..dd9fbd7aec110986c0054dff70a93f104d2a4fa4 100644
--- a/ash/shelf/app_list_shelf_item_delegate.cc
+++ b/ash/shelf/app_list_shelf_item_delegate.cc
@@ -13,12 +13,9 @@
namespace ash {
-namespace {
-
-// An app id for the app list, used to identify the shelf item.
-static constexpr char kAppListId[] = "AppListId";
-
-} // namespace
+// static
+const char AppListShelfItemDelegate::kAppListId[] =
+ "eiiblffaiacobmjejhcoookmokblahea";
msw 2017/05/05 21:45:04 Instead of using an arc-specific formatting for th
khmel 2017/05/05 22:45:12 That makes sense.
// static
void AppListShelfItemDelegate::CreateAppListItemAndDelegate(ShelfModel* model) {

Powered by Google App Engine
This is Rietveld 408576698