| Index: include/core/SkBitmap.h
|
| diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
|
| index b36a1fd3fddc59b211c21be88efd367af01bfb53..cefc30ac821fbcab88140bad7b3b2813c7323fef 100644
|
| --- a/include/core/SkBitmap.h
|
| +++ b/include/core/SkBitmap.h
|
| @@ -220,6 +220,9 @@ public:
|
| void getBounds(SkRect* bounds) const;
|
| void getBounds(SkIRect* bounds) const;
|
|
|
| + SkIRect bounds() const { return fInfo.bounds(); }
|
| + SkISize dimensions() const { return fInfo.dimensions(); }
|
| +
|
| bool setInfo(const SkImageInfo&, size_t rowBytes = 0);
|
|
|
| /**
|
|
|