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

Unified Diff: chrome/browser/ui/app_list/search/extension_app_result.h

Issue 2817293002: Fix randomly disappearing icons in app list recent view. (Closed)
Patch Set: forgot UpdateIcon to match previous logic Created 3 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/ui/app_list/search/extension_app_result.h
diff --git a/chrome/browser/ui/app_list/search/extension_app_result.h b/chrome/browser/ui/app_list/search/extension_app_result.h
index bd8a35ff6fac3938363b1c2f8d8e5369034a7fcf..e4c869ba292af0fecfe4393a3f26e6f7a79e5e37 100644
--- a/chrome/browser/ui/app_list/search/extension_app_result.h
+++ b/chrome/browser/ui/app_list/search/extension_app_result.h
@@ -51,6 +51,10 @@ class ExtensionAppResult : public AppResult,
// running.
bool RunExtensionEnableFlow();
+ // Creates new icon in case icon does not exist or previous icon was
+ // invalidated.
+ void MaybeCreateIcon();
+
// Updates the app item's icon, if necessary making it gray.
void UpdateIcon();

Powered by Google App Engine
This is Rietveld 408576698