BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1897043002
Review URL: https://codereview.chromium.org/
1897043002
}
SkBitmap result;
- result.setInfo(SkImageInfo::MakeN32(destWidth, destHeight, source.alphaType()));
+ // Note: pass along the profile information even thought this is no the right answer because
+ // this could be scaling in sRGB.
+ result.setInfo(SkImageInfo::MakeN32(destWidth, destHeight,
+ source.alphaType(), source.info().profileType()));
result.allocPixels(allocator, nullptr);
SkPixmap resultPM;