summaryrefslogtreecommitdiff
path: root/core/include
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-07-22 13:33:43 -0700
committerLei Zhang <thestig@chromium.org>2015-07-22 13:33:43 -0700
commitb05f1fd710496dea44b001bb905fa1c16a39bb28 (patch)
tree43b7a7fac7b4ce08c287bfc03d09e5e1201e20d0 /core/include
parent81698d1d14bcc9b04799c2bc47440e6d86629f18 (diff)
downloadpdfium-b05f1fd710496dea44b001bb905fa1c16a39bb28.tar.xz
Remove dead code found by Scythe.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1249643003 .
Diffstat (limited to 'core/include')
-rw-r--r--core/include/fpdfapi/fpdf_pageobj.h1
-rw-r--r--core/include/fpdfapi/fpdf_serial.h4
-rw-r--r--core/include/fxge/fx_dib.h2
-rw-r--r--core/include/fxge/fx_font.h7
-rw-r--r--core/include/fxge/fx_ge.h2
5 files changed, 0 insertions, 16 deletions
diff --git a/core/include/fpdfapi/fpdf_pageobj.h b/core/include/fpdfapi/fpdf_pageobj.h
index 22edf5d504..73540a3eb3 100644
--- a/core/include/fpdfapi/fpdf_pageobj.h
+++ b/core/include/fpdfapi/fpdf_pageobj.h
@@ -669,7 +669,6 @@ public:
CFX_AffineMatrix m_Matrix;
- CPDF_Page* m_pPage;
void Transform(const CFX_AffineMatrix& matrix) override;
void CalcBoundingBox();
diff --git a/core/include/fpdfapi/fpdf_serial.h b/core/include/fpdfapi/fpdf_serial.h
index ec89ec21d6..1877ef8866 100644
--- a/core/include/fpdfapi/fpdf_serial.h
+++ b/core/include/fpdfapi/fpdf_serial.h
@@ -65,8 +65,6 @@ protected:
CPDF_TextState m_LastTextState;
CPDF_GeneralState m_LastGeneralState;
-
- CPDF_PageObjects* m_pCurPage;
};
class CPDF_PageArchiveLoader : public CPDF_ObjArchiveLoader
{
@@ -103,8 +101,6 @@ protected:
CPDF_GeneralState m_LastGeneralState;
- CPDF_PageObjects* m_pCurPage;
-
CFX_MapPtrToPtr m_ObjectMap;
};
#define FPDFCREATE_INCREMENTAL 1
diff --git a/core/include/fxge/fx_dib.h b/core/include/fxge/fx_dib.h
index 5b8ee44369..2d7330e0c3 100644
--- a/core/include/fxge/fx_dib.h
+++ b/core/include/fxge/fx_dib.h
@@ -542,7 +542,6 @@ public:
uint8_t* m_pScanline;
uint8_t* m_pMaskScanline;
FXDIB_Format m_DestFormat;
- int32_t m_Status;
int32_t StartQuickStretch();
@@ -598,7 +597,6 @@ protected:
CFX_ImageStretcher m_Stretcher;
CFX_BitmapComposer m_Composer;
int m_Status;
- int m_DestLeft, m_DestTop;
FX_RECT m_ClipBox;
FX_DWORD m_Flags;
int m_AlphaFlag;
diff --git a/core/include/fxge/fx_font.h b/core/include/fxge/fx_font.h
index 5a0a3b2651..8c91c41c3f 100644
--- a/core/include/fxge/fx_font.h
+++ b/core/include/fxge/fx_font.h
@@ -403,13 +403,6 @@ private:
CFX_MapByteStringToPtr m_SizeMap;
CFX_MapPtrToPtr m_PathMap;
CFX_DIBitmap* m_pBitmap;
- void* m_pPlatformGraphics;
- void* m_pPlatformBitmap;
- void* m_hDC;
- void* m_hBitmap;
- void* m_hOldBitmap;
- void* m_hGdiFont;
- void* m_hOldGdiFont;
void InitPlatform();
void DestroyPlatform();
diff --git a/core/include/fxge/fx_ge.h b/core/include/fxge/fx_ge.h
index a0c0ca5a2b..fd9c148b62 100644
--- a/core/include/fxge/fx_ge.h
+++ b/core/include/fxge/fx_ge.h
@@ -133,8 +133,6 @@ protected:
void IntersectMaskRect(FX_RECT rect, FX_RECT mask_box, CFX_DIBitmapRef Mask);
};
-extern const uint8_t g_GammaRamp[256];
-extern const uint8_t g_GammaInverse[256];
#define FX_GAMMA(value) (value)
#define FX_GAMMA_INVERSE(value) (value)
inline FX_ARGB ArgbGamma(FX_ARGB argb)