summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_pagemodule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_pagemodule.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_pagemodule.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_pagemodule.cpp b/core/fpdfapi/page/cpdf_pagemodule.cpp
index c302b70c5b..3b18aceb6e 100644
--- a/core/fpdfapi/page/cpdf_pagemodule.cpp
+++ b/core/fpdfapi/page/cpdf_pagemodule.cpp
@@ -10,7 +10,9 @@ CPDF_PageModule::CPDF_PageModule()
: m_StockGrayCS(PDFCS_DEVICEGRAY),
m_StockRGBCS(PDFCS_DEVICERGB),
m_StockCMYKCS(PDFCS_DEVICECMYK),
- m_StockPatternCS(nullptr) {}
+ m_StockPatternCS(nullptr) {
+ m_StockPatternCS.InitializeStockPattern();
+}
CPDF_PageModule::~CPDF_PageModule() {}