summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_pagemodule.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-04-25 17:56:27 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-04-26 13:38:52 +0000
commit2bbb55162f0c9490a2085ed6eaa38038a7605609 (patch)
treedf3b8cb6206be39dbae43b73311061fba329d1bb /core/fpdfapi/page/cpdf_pagemodule.cpp
parent012ae898a069bda7afbfdad4eb4c8ba042b68dc7 (diff)
downloadpdfium-2bbb55162f0c9490a2085ed6eaa38038a7605609.tar.xz
Remove CPDF_Document parameter from CPDF_DeviceCS ctor.
It is always NULL. Change-Id: Iebfb3bc645aebe05335f88d536164a55a7140539 Reviewed-on: https://pdfium-review.googlesource.com/4510 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_pagemodule.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_pagemodule.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdfapi/page/cpdf_pagemodule.cpp b/core/fpdfapi/page/cpdf_pagemodule.cpp
index 80edf2cdd0..c302b70c5b 100644
--- a/core/fpdfapi/page/cpdf_pagemodule.cpp
+++ b/core/fpdfapi/page/cpdf_pagemodule.cpp
@@ -7,9 +7,9 @@
#include "core/fpdfapi/page/cpdf_pagemodule.h"
CPDF_PageModule::CPDF_PageModule()
- : m_StockGrayCS(nullptr, PDFCS_DEVICEGRAY),
- m_StockRGBCS(nullptr, PDFCS_DEVICERGB),
- m_StockCMYKCS(nullptr, PDFCS_DEVICECMYK),
+ : m_StockGrayCS(PDFCS_DEVICEGRAY),
+ m_StockRGBCS(PDFCS_DEVICERGB),
+ m_StockCMYKCS(PDFCS_DEVICECMYK),
m_StockPatternCS(nullptr) {}
CPDF_PageModule::~CPDF_PageModule() {}