Chromium Code Reviews| Index: ui/gfx/image/image_skia_rep.h |
| diff --git a/ui/gfx/image/image_skia_rep.h b/ui/gfx/image/image_skia_rep.h |
| index 7b70967d0381eb5e68bfd096c8046402a73a287a..47f6713acf5d0a87fddd5020badd1c05c9ad783c 100644 |
| --- a/ui/gfx/image/image_skia_rep.h |
| +++ b/ui/gfx/image/image_skia_rep.h |
| @@ -20,8 +20,10 @@ class GFX_EXPORT ImageSkiaRep { |
| ImageSkiaRep(); |
| ~ImageSkiaRep(); |
| + // Note: This is for testing purpose only. |
| // Creates a bitmap with kARGB_8888_Config config with given |size| in DIP. |
| - // This allocates pixels in the bitmap and fill the bitmap with a color. |
| + // This allocates pixels in the bitmap. It is guaranteed that the data in the |
| + // bitmap are initialized but the actual values are undefined. |
|
oshima
2014/05/16 14:48:39
I think it's better not to mention how it's initia
|
| // Specifying 0 scale means the image is for unscaled image. (unscaled() |
| // returns truen, and scale() returns 1.0f;) |
| ImageSkiaRep(const gfx::Size& size, float scale); |