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

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

Issue 1326953006: Remove CJBig2_Object, CJBig2_Module, and friends. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 3 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
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_Module.h ('k') | core/src/fxcodec/jbig2/JBig2_Object.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/src/fxcodec/jbig2/JBig2_Object.h
diff --git a/core/src/fxcodec/jbig2/JBig2_Object.h b/core/src/fxcodec/jbig2/JBig2_Object.h
deleted file mode 100644
index bab1a16231b66855235a48e9e7040a1118bce5d9..0000000000000000000000000000000000000000
--- a/core/src/fxcodec/jbig2/JBig2_Object.h
+++ /dev/null
@@ -1,55 +0,0 @@
-// 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_OBJECT_H_
-#define _JBIG2_OBJECT_H_
-#include "JBig2_Define.h"
-class CJBig2_Module;
-#define _JBIG2_NO_EXPECTION_
-class CJBig2_Object {
- public:
- void* operator new(size_t size,
- CJBig2_Module* pModule,
- const FX_CHAR* filename,
- int line);
-
- void operator delete(void* p,
- CJBig2_Module* pModule,
- const FX_CHAR* filename,
- int line);
-
- void* operator new(size_t size, CJBig2_Module* pModule);
-
- void operator delete(void* p);
-
- void operator delete(void* p, CJBig2_Module* pModule);
-
- void* operator new[](size_t size,
- CJBig2_Module* pModule,
- size_t unit_size,
- const FX_CHAR* filename,
- int line);
-
- void operator delete[](void* p,
- CJBig2_Module* pModule,
- size_t unit_size,
- const FX_CHAR* filename,
- int line);
-
- void* operator new[](size_t size, CJBig2_Module* pModule, size_t unit_size);
-
- void operator delete[](void* p);
-
- void operator delete[](void* p, CJBig2_Module* pModule, size_t unit_size);
-
- public:
- CJBig2_Module* m_pModule;
-};
-#define JBIG2_NEW new (m_pModule)
-#define JBIG2_ALLOC(p, a) \
- p = JBIG2_NEW a; \
- p->m_pModule = m_pModule;
-#endif
« no previous file with comments | « core/src/fxcodec/jbig2/JBig2_Module.h ('k') | core/src/fxcodec/jbig2/JBig2_Object.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698