summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_contentparser.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-11-22 10:45:59 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-22 10:45:59 -0800
commit1aff265f7a210738fc817675c4391f8fe240b81d (patch)
tree38a9cd7ea6e6faca866211ebe28c636a0c104e48 /core/fpdfapi/page/cpdf_contentparser.cpp
parente50184c087ee6f90568ad1166a55f5d25be4d09e (diff)
downloadpdfium-1aff265f7a210738fc817675c4391f8fe240b81d.tar.xz
Continue splitting pageint.h into per-class files
Add cpdf_streamparser.h and cpdf_contentparser.h since there are already corresponding .cpp files with the same name. Review-Url: https://codereview.chromium.org/2521123003
Diffstat (limited to 'core/fpdfapi/page/cpdf_contentparser.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_contentparser.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_contentparser.cpp b/core/fpdfapi/page/cpdf_contentparser.cpp
index f581047835..0b8574bfd4 100644
--- a/core/fpdfapi/page/cpdf_contentparser.cpp
+++ b/core/fpdfapi/page/cpdf_contentparser.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/page/pageint.h"
+#include "core/fpdfapi/page/cpdf_contentparser.h"
#include "core/fpdfapi/font/cpdf_type3char.h"
#include "core/fpdfapi/page/cpdf_allstates.h"
@@ -18,6 +18,8 @@
#include "core/fpdfapi/parser/cpdf_stream_acc.h"
#include "core/fxcrt/fx_safe_types.h"
+#define PARSE_STEP_LIMIT 100
+
CPDF_ContentParser::CPDF_ContentParser()
: m_Status(Ready),
m_InternalStage(STAGE_GETCONTENT),