Index: ui/gfx/image/image_skia.h |
diff --git a/ui/gfx/image/image_skia.h b/ui/gfx/image/image_skia.h |
index fa5d070ad9bdc31e17f10371dfb9d4c2dd7bb052..8765457b432bd9a371aff036426d6b7cf5a5205e 100644 |
--- a/ui/gfx/image/image_skia.h |
+++ b/ui/gfx/image/image_skia.h |
@@ -78,6 +78,10 @@ class GFX_EXPORT ImageSkia { |
// density display. |
static ImageSkia CreateFrom1xBitmap(const SkBitmap& bitmap); |
+ // Returns true when ImageSkia looks up the resource pack with the closest |
+ // scale factor and rescale the fetched image. |
+ static bool IsDSFScalingInImageSkiaEnabled(); |
+ |
// Returns a deep copy of this ImageSkia which has its own storage with |
// the ImageSkiaRep instances that this ImageSkia currently has. |
// This can be safely passed to and manipulated by another thread. |