diff options
author | Lei Zhang <thestig@chromium.org> | 2018-03-20 20:49:05 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-03-20 20:49:05 +0000 |
commit | aff457782dcb9c2f7fa82e3c9c469182c5b8ad15 (patch) | |
tree | 0e1442aa45347a7356507e19be85bd45d6d17c90 /fpdfsdk/fpdf_flatten_embeddertest.cpp | |
parent | 2e6405c333d8daae4e3edaa6b48f5ac5a8d7675b (diff) | |
download | pdfium-aff457782dcb9c2f7fa82e3c9c469182c5b8ad15.tar.xz |
Simplify code in CPDF_TextPage.
- Augment/reuse existing NormalizeThreshold() function.
- Use std::min() / std::max().
Change-Id: I709e246c58bf8a69638e1d77dcc2a79ae8a27e77
Reviewed-on: https://pdfium-review.googlesource.com/28736
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_flatten_embeddertest.cpp')
0 files changed, 0 insertions, 0 deletions