summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-01-19 18:52:49 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-19 18:52:49 +0000
commitf668ed47ae5472e903ba79499cbff39927155ae2 (patch)
tree68075403f91645fe01cc8cc341cac97efb2e8d73 /BUILD.gn
parent27d718ebb2989631d6b4d3425e1fceb4b3bc795b (diff)
downloadpdfium-f668ed47ae5472e903ba79499cbff39927155ae2.tar.xz
Remove NeedAlpha() in CFX_ImageTransformer.
WriteColorResult(), which calls NeedAlpha(), runs on a per-pixel basis in CFX_ImageTransformer. NeedAlpha() repeats some conditional calculations. Remove that for a slight speed-up. Change-Id: I0bb3f92001b9ccdb65c4d59c9f832fe9edfa71f4 Reviewed-on: https://pdfium-review.googlesource.com/23175 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'BUILD.gn')
0 files changed, 0 insertions, 0 deletions