| Index: ui/base/native_theme/native_theme_android.h
|
| diff --git a/ui/base/native_theme/native_theme_android.h b/ui/base/native_theme/native_theme_android.h
|
| index eba1f5f46ca683d7f000a701b8dff5806b86f5b1..04c7be305411b046583e199fc2796013e342600a 100644
|
| --- a/ui/base/native_theme/native_theme_android.h
|
| +++ b/ui/base/native_theme/native_theme_android.h
|
| @@ -12,6 +12,7 @@
|
| #include "ui/base/native_theme/native_theme.h"
|
|
|
| namespace gfx {
|
| +class ImageSkia;
|
| class Rect;
|
| class Size;
|
| }
|
| @@ -112,10 +113,10 @@ class NativeThemeAndroid : public NativeTheme {
|
| int w,
|
| int h) const;
|
|
|
| - // Draw the dest rectangle with the given bitmap which might be scaled if its
|
| + // Draw the dest rectangle with the given image which might be scaled if its
|
| // size is not same as target rectangle.
|
| void DrawBitmapInt(SkCanvas* canvas,
|
| - const SkBitmap& bitmap,
|
| + const gfx::ImageSkia& image,
|
| int src_x,
|
| int src_y,
|
| int src_w,
|
| @@ -128,7 +129,7 @@ class NativeThemeAndroid : public NativeTheme {
|
| // Draw the target rectangle with the |bitmap| accroding the given
|
| // |tile_scale_x| and |tile_scale_y|
|
| void DrawTiledImage(SkCanvas* canvas,
|
| - const SkBitmap& bitmap,
|
| + const gfx::ImageSkia& image,
|
| int src_x,
|
| int src_y,
|
| float tile_scale_x,
|
|
|