summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_contentparser.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-05-15 17:12:15 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-15 17:12:15 +0000
commit68c15ce8891f7b65234940d29849f8f0af91e3c6 (patch)
tree973f20d2b69651cccfa426b2bbefd7f92ac1251e /core/fpdfapi/page/cpdf_contentparser.h
parent473b4ae489e8c6d63b087693589eda03399f60f6 (diff)
downloadpdfium-68c15ce8891f7b65234940d29849f8f0af91e3c6.tar.xz
Break CPDF_CotnentParser::Continue into pieces
This CL separates the parts of CPDF_ContentParser::Continue into three distinct methods. It clarifes when and what is returned from Continue. Change-Id: Id7a9bf1aa16f366f567cce74006c27c452cb5dcc Reviewed-on: https://pdfium-review.googlesource.com/32531 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_contentparser.h')
-rw-r--r--core/fpdfapi/page/cpdf_contentparser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fpdfapi/page/cpdf_contentparser.h b/core/fpdfapi/page/cpdf_contentparser.h
index b66783775b..d530a1407e 100644
--- a/core/fpdfapi/page/cpdf_contentparser.h
+++ b/core/fpdfapi/page/cpdf_contentparser.h
@@ -46,6 +46,10 @@ class CPDF_ContentParser {
STAGE_CHECKCLIP,
};
+ void StageGetContent();
+ void StageParse();
+ void StageCheckClip();
+
bool m_bIsDone = false;
InternalStage m_InternalStage;
UnownedPtr<CPDF_PageObjectHolder> const m_pObjectHolder;