Use makeSubset in color managed createImageBitmap code |
|||
Issue descriptionIn CanvasRenderingContext2DTest.ImageBitmapColorSpaceConversion() unit test, the crop rect is set to (300,150) to avoid calling SkImage::makeSubset() from CropImageAndApplyColorSpaceConversion() in ImagBitmap.cpp. This is due to bugs.chromium.org/p/skia/issues/detail?id=6858. When this bug is fixed, change the size of crop rect to (10,10) or something similar to test the correct behavior of makeSubset() and make the unit test run faster.
,
Aug 26 2017
,
Nov 27 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Aug 25 2017