Index: core/fpdfapi/page/cpdf_contentparser.cpp |
diff --git a/core/fpdfapi/page/cpdf_contentparser.cpp b/core/fpdfapi/page/cpdf_contentparser.cpp |
index f581047835143a37000d7273b1f3bcb6c11bd29a..0b8574bfd40791cc80294d6846042737f029b39a 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), |