Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: ui/gfx/image/image_skia_rep.h

Issue 284203009: Update comment for ImageSkiaRep(gfx::Size, float); (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698