diff options
author | Lei Zhang <thestig@chromium.org> | 2018-05-25 21:49:49 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-25 21:49:49 +0000 |
commit | de579ab0092d43fe037c381710da998b9ff823e9 (patch) | |
tree | 9b164e67d06aea6e96054bf4cb4a7db951481f4c /core/fxge/skia | |
parent | 5cee3f28ead05cb336377483e24664c004af8b0a (diff) | |
download | pdfium-de579ab0092d43fe037c381710da998b9ff823e9.tar.xz |
Add proper const/non-const versions of CPDF_Dictionary::GetArrayFor().
BUG=pdfium:234
Change-Id: I5c900aa0547afef0c60de35422b4ee489daa6cfb
Reviewed-on: https://pdfium-review.googlesource.com/32913
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxge/skia')
-rw-r--r-- | core/fxge/skia/fx_skia_device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/skia/fx_skia_device.cpp b/core/fxge/skia/fx_skia_device.cpp index b922e49e4a..c68fd57798 100644 --- a/core/fxge/skia/fx_skia_device.cpp +++ b/core/fxge/skia/fx_skia_device.cpp @@ -2027,7 +2027,7 @@ bool CFX_SkiaDeviceDriver::DrawShading(const CPDF_ShadingPattern* pPattern, return false; } } - CPDF_Array* pArray = pDict->GetArrayFor("Extend"); + const CPDF_Array* pArray = pDict->GetArrayFor("Extend"); bool clipStart = !pArray || !pArray->GetIntegerAt(0); bool clipEnd = !pArray || !pArray->GetIntegerAt(1); SkPaint paint; |