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

Unified Diff: chrome/browser/supervised_user/supervised_user_theme.h

Issue 1869693002: Theme suppliers: Avoid all Image copying. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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
« no previous file with comments | « no previous file | chrome/browser/supervised_user/supervised_user_theme.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/supervised_user/supervised_user_theme.h
diff --git a/chrome/browser/supervised_user/supervised_user_theme.h b/chrome/browser/supervised_user/supervised_user_theme.h
index 120906221e8c8a66838a2fb58bc0114aa042bcc5..bbafad248f406295b616cd7593fcc712228c7157 100644
--- a/chrome/browser/supervised_user/supervised_user_theme.h
+++ b/chrome/browser/supervised_user/supervised_user_theme.h
@@ -21,7 +21,7 @@ class SupervisedUserTheme : public CustomThemeSupplier {
// Overridden from CustomThemeSupplier:
bool GetColor(int id, SkColor* color) const override;
- gfx::Image GetImageNamed(int id) override;
+ const gfx::Image& GetImageNamed(int id) override;
bool HasCustomImage(int id) const override;
private:
« no previous file with comments | « no previous file | chrome/browser/supervised_user/supervised_user_theme.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698