Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1027)

Unified Diff: core/src/fxcodec/jbig2/JBig2_Module.h

Issue 1265503005: clang-format all pdfium code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: sigh Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: core/src/fxcodec/jbig2/JBig2_Module.h
diff --git a/core/src/fxcodec/jbig2/JBig2_Module.h b/core/src/fxcodec/jbig2/JBig2_Module.h
index 5a96f4395ecdcb0195e6538191e5bd229321c53c..c669afe6968795f3147865dde3aeb50fb1f967b8 100644
--- a/core/src/fxcodec/jbig2/JBig2_Module.h
+++ b/core/src/fxcodec/jbig2/JBig2_Module.h
@@ -1,33 +1,34 @@
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
+
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef _JBIG2_MODULE_H_
#define _JBIG2_MODULE_H_
#include "JBig2_Define.h"
-class CJBig2_Module
-{
-public:
- virtual ~CJBig2_Module() { }
+class CJBig2_Module {
+ public:
+ virtual ~CJBig2_Module() {}
- virtual void *JBig2_Malloc(FX_DWORD dwSize) = 0;
+ virtual void* JBig2_Malloc(FX_DWORD dwSize) = 0;
- virtual void *JBig2_Malloc2(FX_DWORD num, FX_DWORD dwSize) = 0;
+ virtual void* JBig2_Malloc2(FX_DWORD num, FX_DWORD dwSize) = 0;
- virtual void *JBig2_Malloc3(FX_DWORD num, FX_DWORD dwSize, FX_DWORD dwSize2) = 0;
+ virtual void* JBig2_Malloc3(FX_DWORD num,
+ FX_DWORD dwSize,
+ FX_DWORD dwSize2) = 0;
- virtual void *JBig2_Realloc(void* pMem, FX_DWORD dwSize) = 0;
+ virtual void* JBig2_Realloc(void* pMem, FX_DWORD dwSize) = 0;
- virtual void JBig2_Free(void* pMem) = 0;
+ 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

Powered by Google App Engine
This is Rietveld 408576698