Chromium Code Reviews| Index: include/core/SkImage.h |
| diff --git a/include/core/SkImage.h b/include/core/SkImage.h |
| index 54ef9f44e902c72601c8d3ec94ef027f80022712..22d42c3e11f3d163f3978d59a1176ba658e866d2 100644 |
| --- a/include/core/SkImage.h |
| +++ b/include/core/SkImage.h |
| @@ -47,6 +47,8 @@ public: |
| */ |
| static SkImage* NewTexture(const SkBitmap&); |
| + virtual bool isOpaque() const { return false; } |
| + |
| int width() const { return fWidth; } |
| int height() const { return fHeight; } |
| uint32_t uniqueID() const { return fUniqueID; } |