Merge "[automerger skipped] Merge "Change default IP protocol preference from AUTO to IPV4" into udc-dev am: 4ca1887dd7 am: f16d2249fe -s ours am: 5c984c1b40 -s ours" into udc-qpr-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
ac88d483ea
@@ -51,9 +51,6 @@ using namespace android;
|
||||
sk_sp<SkColorSpace> ImageDecoder::getDefaultColorSpace() const {
|
||||
const skcms_ICCProfile* encodedProfile = mCodec->getICCProfile();
|
||||
if (encodedProfile) {
|
||||
if (encodedProfile->has_CICP) {
|
||||
return mCodec->computeOutputColorSpace(kN32_SkColorType);
|
||||
}
|
||||
// If the profile maps directly to an SkColorSpace, that SkColorSpace
|
||||
// will be returned. Otherwise, nullptr will be returned. In either
|
||||
// case, using this SkColorSpace results in doing no color correction.
|
||||
|
||||
Reference in New Issue
Block a user