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

Unified Diff: components/arc/intent_helper/activity_icon_loader.h

Issue 2655213004: Avoid retaining a reference to ActivityIconLoader in its OnIconReady() (Closed)
Patch Set: +-DCHECK(thread_checker_.COVT()); 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 | components/arc/intent_helper/activity_icon_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/intent_helper/activity_icon_loader.h
diff --git a/components/arc/intent_helper/activity_icon_loader.h b/components/arc/intent_helper/activity_icon_loader.h
index bc814ab1874b2f74418c1069bad677d525dde5b3..58b78925f742f6f6f9376befe5ad1068925c4165 100644
--- a/components/arc/intent_helper/activity_icon_loader.h
+++ b/components/arc/intent_helper/activity_icon_loader.h
@@ -101,7 +101,7 @@ class ActivityIconLoader : public base::RefCounted<ActivityIconLoader> {
std::vector<mojom::ActivityIconPtr> icons);
// Resizes and encodes |icons| and returns the results as ActivityToIconsMap.
- std::unique_ptr<ActivityToIconsMap> ResizeAndEncodeIcons(
+ static std::unique_ptr<ActivityToIconsMap> ResizeAndEncodeIcons(
std::vector<mojom::ActivityIconPtr> icons);
// A function called when ResizeIcons finishes. Append items in |result| to
« no previous file with comments | « no previous file | components/arc/intent_helper/activity_icon_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698