summaryrefslogtreecommitdiff
path: root/fxjs/cfxjs_engine_unittest.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-05-16 16:33:02 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-16 16:33:02 +0000
commit67268cd0efa2ebd3b27e963718e90b461e9f73b2 (patch)
tree549be5bfa1c0bac8a53e3a3ccdaebffe2687184b /fxjs/cfxjs_engine_unittest.cpp
parent977f9370ea6c8da403ddd73f8c13317520b5bf69 (diff)
downloadpdfium-67268cd0efa2ebd3b27e963718e90b461e9f73b2.tar.xz
Cleanup CPDF_ContentParser
This CL cleans up the CPDF_ContentParser code. The m_bIsDone flag has been removed and a kComplete stage added. Each of the processing methods returns the next stage instead of setting the internal flag automatically. The infinite loop is removed for simpler straight line code. Change-Id: Id817a5fa054e28c331c68c63ec2c12b369cb0233 Reviewed-on: https://pdfium-review.googlesource.com/32611 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fxjs/cfxjs_engine_unittest.cpp')
0 files changed, 0 insertions, 0 deletions