From 632b807b386878afdb42322f0037f8998306f4a9 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 14 Aug 2015 21:39:51 -0700 Subject: Clean: Fix some unneeded semi-colons and bad spacing. TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1284193005 . --- core/src/fxcodec/jbig2/JBig2_Context.h | 2 +- core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h | 2 +- core/src/fxcodec/jbig2/JBig2_Module.h | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'core/src/fxcodec/jbig2') diff --git a/core/src/fxcodec/jbig2/JBig2_Context.h b/core/src/fxcodec/jbig2/JBig2_Context.h index 07f886ee49..25261a17bf 100644 --- a/core/src/fxcodec/jbig2/JBig2_Context.h +++ b/core/src/fxcodec/jbig2/JBig2_Context.h @@ -66,7 +66,7 @@ class CJBig2_Context : public CJBig2_Object { int32_t getNextPage(CJBig2_Image** image, IFX_Pause* pPause); int32_t Continue(IFX_Pause* pPause); - FXCODEC_STATUS GetProcessiveStatus() { return m_ProcessiveStatus; }; + FXCODEC_STATUS GetProcessiveStatus() { return m_ProcessiveStatus; } private: CJBig2_Context(uint8_t* pGlobalData, diff --git a/core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h b/core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h index 3c9a39a19f..eb90f6b183 100644 --- a/core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h +++ b/core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h @@ -63,7 +63,7 @@ class CJBig2_GRDProc : public CJBig2_Object { CJBig2_BitStream* pStream, IFX_Pause* pPause = NULL); FXCODEC_STATUS Continue_decode(IFX_Pause* pPause); - FX_RECT GetReplaceRect() { return m_ReplaceRect; }; + FX_RECT GetReplaceRect() { return m_ReplaceRect; } private: FXCODEC_STATUS decode_Arith(IFX_Pause* pPause); diff --git a/core/src/fxcodec/jbig2/JBig2_Module.h b/core/src/fxcodec/jbig2/JBig2_Module.h index c669afe696..53e47605ba 100644 --- a/core/src/fxcodec/jbig2/JBig2_Module.h +++ b/core/src/fxcodec/jbig2/JBig2_Module.h @@ -23,12 +23,12 @@ class CJBig2_Module { virtual void JBig2_Free(void* pMem) = 0; - virtual void JBig2_Assert(int32_t nExpression){}; + virtual void JBig2_Assert(int32_t nExpression) {} - virtual void JBig2_Error(const FX_CHAR* format, ...){}; + virtual void JBig2_Error(const FX_CHAR* format, ...) {} - virtual void JBig2_Warn(const FX_CHAR* format, ...){}; + virtual void JBig2_Warn(const FX_CHAR* format, ...) {} - virtual void JBig2_Log(const FX_CHAR* format, ...){}; + virtual void JBig2_Log(const FX_CHAR* format, ...) {} }; #endif -- cgit v1.2.3