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

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

Issue 372883002: Use 2x resources for 1.25 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated test Created 6 years, 5 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_skia_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_skia.cc
diff --git a/ui/gfx/image/image_skia.cc b/ui/gfx/image/image_skia.cc
index 21d08de30037bc1f0af1d9a0dd25fc927c3cbe72..737d9f4db1cb09c706d896489fb29f038ba2589f 100644
--- a/ui/gfx/image/image_skia.cc
+++ b/ui/gfx/image/image_skia.cc
@@ -32,10 +32,10 @@ gfx::ImageSkiaRep& NullImageRep() {
std::vector<float>* g_supported_scales = NULL;
// The difference to fall back to the smaller scale factor rather than the
-// larger one. For example, assume 1.25 is requested but only 1.0 and 2.0 are
+// larger one. For example, assume 1.20 is requested but only 1.0 and 2.0 are
// supported. In that case, not fall back to 2.0 but 1.0, and then expand
// the image to 1.25.
-const float kFallbackToSmallerScaleDiff = 0.25f;
+const float kFallbackToSmallerScaleDiff = 0.20f;
} // namespace
« no previous file with comments | « no previous file | ui/gfx/image/image_skia_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698