diff options
author | Lei Zhang <thestig@chromium.org> | 2018-01-19 18:52:49 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-19 18:52:49 +0000 |
commit | f668ed47ae5472e903ba79499cbff39927155ae2 (patch) | |
tree | 68075403f91645fe01cc8cc341cac97efb2e8d73 /infra | |
parent | 27d718ebb2989631d6b4d3425e1fceb4b3bc795b (diff) | |
download | pdfium-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 'infra')
0 files changed, 0 insertions, 0 deletions