Index: core/fpdfapi/fpdf_page/fpdf_page_doc.cpp |
diff --git a/core/fpdfapi/fpdf_page/fpdf_page_doc.cpp b/core/fpdfapi/fpdf_page/fpdf_page_doc.cpp |
index 76ecdccae37f3585681031c7cbd1614eb8d0465c..9da5d1fe0043e2423f7ce6eefb5544810cd1db83 100644 |
--- a/core/fpdfapi/fpdf_page/fpdf_page_doc.cpp |
+++ b/core/fpdfapi/fpdf_page/fpdf_page_doc.cpp |
@@ -8,12 +8,15 @@ |
#include "core/fdrm/crypto/include/fx_crypt.h" |
#include "core/fpdfapi/fpdf_font/font_int.h" |
-#include "core/include/fpdfapi/cpdf_array.h" |
-#include "core/include/fpdfapi/cpdf_dictionary.h" |
-#include "core/include/fpdfapi/cpdf_document.h" |
-#include "core/include/fpdfapi/fpdf_module.h" |
+#include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" |
+#include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" |
+#include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" |
+#include "core/fpdfapi/include/cpdf_modulemgr.h" |
+#include "core/fpdfapi/ipdf_pagemodule.h" |
#include "core/include/fpdfapi/fpdf_page.h" |
+namespace { |
+ |
class CPDF_PageModule : public IPDF_PageModule { |
public: |
CPDF_PageModule() |
@@ -48,6 +51,8 @@ class CPDF_PageModule : public IPDF_PageModule { |
CPDF_PatternCS m_StockPatternCS; |
}; |
+} // namespace |
+ |
CPDF_ColorSpace* CPDF_PageModule::GetStockCS(int family) { |
if (family == PDFCS_DEVICEGRAY) { |
return &m_StockGrayCS; |