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

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

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 | « ui/gfx/image/image_family.h ('k') | ui/gfx/image/image_family_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_family.cc
diff --git a/ui/gfx/image/image_family.cc b/ui/gfx/image/image_family.cc
index e7e9234f695b2d5e48220655c51b2cc0f344fff7..27b7f8c337741f9964f750bf89bdc2cbeb98d53f 100644
--- a/ui/gfx/image/image_family.cc
+++ b/ui/gfx/image/image_family.cc
@@ -39,7 +39,7 @@ void ImageFamily::Add(const gfx::ImageSkia& image_skia) {
Add(gfx::Image(image_skia));
}
-const gfx::Image* ImageFamily::Get(int width, int height) const {
+const gfx::Image* ImageFamily::GetBest(int width, int height) const {
if (map_.empty())
return NULL;
« no previous file with comments | « ui/gfx/image/image_family.h ('k') | ui/gfx/image/image_family_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698