summaryrefslogtreecommitdiff
path: root/core/src/fxge
diff options
context:
space:
mode:
authorChris Palmer <palmer@google.com>2014-08-28 14:44:46 -0700
committerChris Palmer <palmer@google.com>2014-08-28 14:44:46 -0700
commitd0c36505eebd0a755f77f98676db0b5bad2f2496 (patch)
treec4987c5ce4ed736d02feb5809fc6f89bf2ff01dc /core/src/fxge
parentf105b19434fdeecac2dd2f78fed5b45ed2637ab3 (diff)
downloadpdfium-d0c36505eebd0a755f77f98676db0b5bad2f2496.tar.xz
Remove unused fields and stack locals.
Edge closer to getting PDFium to build in chromium_code mode. BUG=https://code.google.com/p/pdfium/issues/detail?id=29 R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/437343002
Diffstat (limited to 'core/src/fxge')
-rw-r--r--core/src/fxge/agg/agg23/agg_curves.h3
-rw-r--r--core/src/fxge/agg/agg23/fx_agg_driver.cpp2
2 files changed, 0 insertions, 5 deletions
diff --git a/core/src/fxge/agg/agg23/agg_curves.h b/core/src/fxge/agg/agg23/agg_curves.h
index 5719cbf508..61270e64a5 100644
--- a/core/src/fxge/agg/agg23/agg_curves.h
+++ b/core/src/fxge/agg/agg23/agg_curves.h
@@ -63,14 +63,12 @@ class curve4_div : public CFX_Object
{
public:
curve4_div() :
- m_cusp_limit(0),
m_count(0)
{}
curve4_div(FX_FLOAT x1, FX_FLOAT y1,
FX_FLOAT x2, FX_FLOAT y2,
FX_FLOAT x3, FX_FLOAT y3,
FX_FLOAT x4, FX_FLOAT y4) :
- m_cusp_limit(0),
m_count(0)
{
init(x1, y1, x2, y2, x3, y3, x4, y4);
@@ -134,7 +132,6 @@ private:
unsigned level);
FX_FLOAT m_distance_tolerance_square;
FX_FLOAT m_distance_tolerance_manhattan;
- FX_FLOAT m_cusp_limit;
unsigned m_count;
pod_deque<point_type> m_points;
};
diff --git a/core/src/fxge/agg/agg23/fx_agg_driver.cpp b/core/src/fxge/agg/agg23/fx_agg_driver.cpp
index c3f42bf9f9..f0f6e5ee66 100644
--- a/core/src/fxge/agg/agg23/fx_agg_driver.cpp
+++ b/core/src/fxge/agg/agg23/fx_agg_driver.cpp
@@ -1317,8 +1317,6 @@ void RgbByteOrderTransferBitmap(CFX_DIBitmap* pBitmap, int dest_left, int dest_t
}
return;
}
- int src_pitch = pSrcBitmap->GetPitch();
- FX_ARGB* src_pal = pSrcBitmap->GetPalette();
FX_LPBYTE dest_buf = buffer + dest_top * pitch + dest_left * Bpp;
if (dest_format == FXDIB_Rgb) {
if (src_format == FXDIB_Rgb32) {