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

Unified Diff: ui/gfx/image/image_family.h

Issue 13713002: ImageFamily: Renamed Get method to GetBest. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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 | ui/gfx/image/image_family.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_family.h
diff --git a/ui/gfx/image/image_family.h b/ui/gfx/image/image_family.h
index 9aa1633f6787e43286a3647197f7fc933d0d3433..28ea7dff70d442a946e8c71d003815951208b9bf 100644
--- a/ui/gfx/image/image_family.h
+++ b/ui/gfx/image/image_family.h
@@ -109,7 +109,7 @@ class UI_EXPORT ImageFamily {
// returns the smallest image with both its width and height bigger or equal
// to the requested size. If none exists, returns the largest image of that
// aspect ratio. If there are no images in the family, returns NULL.
- const gfx::Image* Get(int width, int height) const;
+ const gfx::Image* GetBest(int width, int height) const;
private:
// An <aspect ratio, DIP width> pair.
« no previous file with comments | « no previous file | ui/gfx/image/image_family.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698