From 47b75ce767469170658a2ec73f25aa24d89b5099 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 22 May 2018 15:38:58 +0000 Subject: Fix method style in JBig2_Image. Rename fooBar() to FooBar(). Change-Id: I87775fa14ce7e4f4a5897780d0d02fb61c7693ff Reviewed-on: https://pdfium-review.googlesource.com/32739 Commit-Queue: Ryan Harrison Reviewed-by: Ryan Harrison --- core/fxcodec/jbig2/JBig2_Image.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'core/fxcodec/jbig2/JBig2_Image.h') diff --git a/core/fxcodec/jbig2/JBig2_Image.h b/core/fxcodec/jbig2/JBig2_Image.h index d8a3e9cdc1..7c087c2385 100644 --- a/core/fxcodec/jbig2/JBig2_Image.h +++ b/core/fxcodec/jbig2/JBig2_Image.h @@ -36,11 +36,11 @@ class CJBig2_Image { int32_t stride() const { return m_nStride; } 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); + int GetPixel(int32_t x, int32_t y) const; + int32_t SetPixel(int32_t x, int32_t y, int bVal); - void copyLine(int32_t hTo, int32_t hFrom); - void fill(bool v); + void CopyLine(int32_t hTo, int32_t hFrom); + void Fill(bool v); bool ComposeFrom(int32_t x, int32_t y, CJBig2_Image* pSrc, JBig2ComposeOp op); bool ComposeFromWithRect(int32_t x, @@ -49,12 +49,11 @@ class CJBig2_Image { const FX_RECT& rtSrc, JBig2ComposeOp op); - std::unique_ptr subImage(int32_t x, + std::unique_ptr SubImage(int32_t x, int32_t y, int32_t w, int32_t h); - void expand(int32_t h, bool v); - + void Expand(int32_t h, bool v); bool ComposeTo(CJBig2_Image* pDst, int32_t x, int32_t y, JBig2ComposeOp op); bool ComposeToWithRect(CJBig2_Image* pDst, -- cgit v1.2.3