summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_devicecs.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-12-19 19:00:43 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-19 19:00:43 +0000
commit58c2c144c5ac6a7397573d2f25d1ba9c79bc4f15 (patch)
tree438cd4c32e367e1433d5e5f01896984d564f67c2 /core/fpdfapi/page/cpdf_devicecs.cpp
parent9ccf08746e57a03fd9afc187cb3e23404cdc88bb (diff)
downloadpdfium-58c2c144c5ac6a7397573d2f25d1ba9c79bc4f15.tar.xz
Remove some dead code.
Change-Id: I8edb14c024860c66b5e6c014136393e71e38387d Reviewed-on: https://pdfium-review.googlesource.com/21570 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_devicecs.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_devicecs.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/fpdfapi/page/cpdf_devicecs.cpp b/core/fpdfapi/page/cpdf_devicecs.cpp
index 276d19b174..efd0ae4f46 100644
--- a/core/fpdfapi/page/cpdf_devicecs.cpp
+++ b/core/fpdfapi/page/cpdf_devicecs.cpp
@@ -36,19 +36,6 @@ uint32_t ComponentsForFamily(int family) {
return 4;
}
-void sRGB_to_AdobeCMYK(float R,
- float G,
- float B,
- float& c,
- float& m,
- float& y,
- float& k) {
- c = 1.0f - R;
- m = 1.0f - G;
- y = 1.0f - B;
- k = std::min(c, std::min(m, y));
-}
-
void ReverseRGB(uint8_t* pDestBuf, const uint8_t* pSrcBuf, int pixels) {
if (pDestBuf == pSrcBuf) {
for (int i = 0; i < pixels; i++) {