Fixes use-of-uninitialized-value MSan error in image_skia_unittest
The existing test code returns an empty ImageSkiaRep where bytes are allocated but nothing is initialized. This was okay because ImageSkiaTest doesn't touch the contents of the image. Now ImageSkia can rescale the image data and such cases are tested. So using a dummy ImageSkiaRep wouldn't be helthy. Rather some data should be drawn. BUG=373748 R=oshima@chromium.org TEST= Review URL: https://codereview.chromium.org/285393002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270970 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment