summaryrefslogtreecommitdiff
path: root/core/fxcodec/jbig2/JBig2_Image.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-05-22 15:55:58 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-22 15:55:58 +0000
commit1f4d8492095a3d6c6d3452ef075a91d4764a5dc5 (patch)
tree02c6a0d4dcbca84d1c134f711880fb23e2117fe7 /core/fxcodec/jbig2/JBig2_Image.h
parent47b75ce767469170658a2ec73f25aa24d89b5099 (diff)
downloadpdfium-1f4d8492095a3d6c6d3452ef075a91d4764a5dc5.tar.xz
Remove return value from CJBig2_Image::SetPixel().
Nobody reads it. Change-Id: I76c0f5881e5432d2086cb8eaec7fc70fa5b71536 Reviewed-on: https://pdfium-review.googlesource.com/32741 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_Image.h')
-rw-r--r--core/fxcodec/jbig2/JBig2_Image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcodec/jbig2/JBig2_Image.h b/core/fxcodec/jbig2/JBig2_Image.h
index 7c087c2385..3cf28b0643 100644
--- a/core/fxcodec/jbig2/JBig2_Image.h
+++ b/core/fxcodec/jbig2/JBig2_Image.h
@@ -37,7 +37,7 @@ class CJBig2_Image {
uint8_t* data() const { return m_pData.Get(); }
int GetPixel(int32_t x, int32_t y) const;
- int32_t SetPixel(int32_t x, int32_t y, int bVal);
+ void SetPixel(int32_t x, int32_t y, int bVal);
void CopyLine(int32_t hTo, int32_t hFrom);
void Fill(bool v);