From 555b41aebe002918c806a8239dcab9ec2c032252 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 2 Jul 2018 21:56:33 +0000 Subject: Use std::vector in cpdf_expintfunc.cpp Fix some {} along the way. Change-Id: I5277c03328b63e0cead058fc07dc65311d7b97b0 Reviewed-on: https://pdfium-review.googlesource.com/36791 Commit-Queue: Tom Sepez Reviewed-by: Lei Zhang --- core/fxge/skia/fx_skia_device.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'core/fxge/skia') diff --git a/core/fxge/skia/fx_skia_device.cpp b/core/fxge/skia/fx_skia_device.cpp index adc02fe8a4..87cb178a52 100644 --- a/core/fxge/skia/fx_skia_device.cpp +++ b/core/fxge/skia/fx_skia_device.cpp @@ -363,13 +363,13 @@ bool AddColors(const CPDF_ExpIntFunc* pFunc, SkTDArray* skColors) { if (pFunc->m_nOrigOutputs != 3) return false; skColors->push( - SkColorSetARGB(0xFF, SkUnitScalarClampToByte(pFunc->m_pBeginValues[0]), - SkUnitScalarClampToByte(pFunc->m_pBeginValues[1]), - SkUnitScalarClampToByte(pFunc->m_pBeginValues[2]))); + SkColorSetARGB(0xFF, SkUnitScalarClampToByte(pFunc->m_BeginValues[0]), + SkUnitScalarClampToByte(pFunc->m_BeginValues[1]), + SkUnitScalarClampToByte(pFunc->m_BeginValues[2]))); skColors->push( - SkColorSetARGB(0xFF, SkUnitScalarClampToByte(pFunc->m_pEndValues[0]), - SkUnitScalarClampToByte(pFunc->m_pEndValues[1]), - SkUnitScalarClampToByte(pFunc->m_pEndValues[2]))); + SkColorSetARGB(0xFF, SkUnitScalarClampToByte(pFunc->m_EndValues[0]), + SkUnitScalarClampToByte(pFunc->m_EndValues[1]), + SkUnitScalarClampToByte(pFunc->m_EndValues[2]))); return true; } -- cgit v1.2.3