1 /* 2 * Copyright 2016 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #include "SkColorSpace_A2B.h" 9 SkColorSpace_A2B(ICCTypeFlag iccType,std::vector<Element> elements,PCS pcs,sk_sp<SkData> profileData)10SkColorSpace_A2B::SkColorSpace_A2B(ICCTypeFlag iccType, std::vector<Element> elements, 11 PCS pcs, sk_sp<SkData> profileData) 12 : INHERITED(std::move(profileData)) 13 , fICCType(iccType) 14 , fElements(std::move(elements)) 15 , fPCS(pcs) 16 { 17 SkASSERT(kRGB_ICCTypeFlag == iccType || kCMYK_ICCTypeFlag == iccType); 18 } 19