| Index: ui/gfx/image/image.h
|
| diff --git a/ui/gfx/image/image.h b/ui/gfx/image/image.h
|
| index 01344242d939a20cb9c6f7ca682104bee1d90d69..1cec7b8729f09a40340995ca17b3925a5e79fd43 100644
|
| --- a/ui/gfx/image/image.h
|
| +++ b/ui/gfx/image/image.h
|
| @@ -115,6 +115,7 @@ class GFX_EXPORT Image {
|
| // The returned result is a weak pointer owned by and scoped to the life of
|
| // the Image. Must only be called if IsEmpty() is false.
|
| const SkBitmap* ToSkBitmap() const;
|
| + const SkBitmap* ToSkBitmap2x() const;
|
| const ImageSkia* ToImageSkia() const;
|
| #if defined(OS_IOS)
|
| UIImage* ToUIImage() const;
|
| @@ -131,6 +132,9 @@ class GFX_EXPORT Image {
|
| // Same as ToSkBitmap(), but returns a null SkBitmap if this image is empty.
|
| SkBitmap AsBitmap() const;
|
|
|
| + // Same as ToSkBitmap2x(), but returns a null SkBitmap if this image is empty.
|
| + SkBitmap AsBitmap2x() const;
|
| +
|
| // Same as ToImageSkia(), but returns an empty ImageSkia if this
|
| // image is empty.
|
| ImageSkia AsImageSkia() const;
|
|
|