Commit 799d9329 authored by oshima@chromium.org's avatar oshima@chromium.org

Update comment for ImageSkiaRep(gfx::Size, float);

BUG=373748
TBR=mukai@chromium.org

Review URL: https://codereview.chromium.org/284203009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271013 0039d316-1c4b-4281-b951-d872f2087c98
parent fe81de82
......@@ -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.
// 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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment