Add PDFCharIsLineEnding helper
authorDan Sinclair <dsinclair@chromium.org>
Wed, 28 Oct 2015 21:14:42 +0000 (17:14 -0400)
committerDan Sinclair <dsinclair@chromium.org>
Wed, 28 Oct 2015 21:14:42 +0000 (17:14 -0400)
commit4b38229b004b7b6493cb4c4507df450adc6085f6
tree0903be4cebd03e7f9d1991ded3c438f628efae92
parentda6254ff78553773b7bb637ee1e3f5111c083c74
Add PDFCharIsLineEnding helper

This CL adds a helper to check if a given character is a \n or \r.

R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1418073006 .
core/include/fpdfapi/fpdf_parser.h
core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp