diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-07-02 21:56:33 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-02 21:56:33 +0000 |
commit | 555b41aebe002918c806a8239dcab9ec2c032252 (patch) | |
tree | 82a238c2fdf460e0b80200e2acf3de14e598fade /core/fxge | |
parent | 33ac88d2e5090772c04be698807620aa8bc5711e (diff) | |
download | pdfium-555b41aebe002918c806a8239dcab9ec2c032252.tar.xz |
Use std::vector<float> in cpdf_expintfunc.cpp
Fix some {} along the way.
Change-Id: I5277c03328b63e0cead058fc07dc65311d7b97b0
Reviewed-on: https://pdfium-review.googlesource.com/36791
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxge')
-rw-r--r-- | core/fxge/skia/fx_skia_device.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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<SkColor>* 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; } |