summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-16 14:59:56 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-16 14:59:56 -0700
commitd931476503bc3ed2f0f6dda1ca2c18ef03bb1511 (patch)
tree60841dbd33ec9b876361ebb3cece9558d689cbd5 /core
parent5944f5f3b57c7b2a723484186c9f66b7adafda42 (diff)
downloadpdfium-d931476503bc3ed2f0f6dda1ca2c18ef03bb1511.tar.xz
Remove unused code.
This cl removes code that exists but is never called. This includes: * cfwl_formtp * cfwl_widgetdelegate * cfwl_scrollbar * cfwl_theme * cfwl_tooltip * PWL_Label * PWL_ListCtrl * PWL_Signature * PWL_IconList * BC_ResultPoint * BC_CommonPerspectiveTransform * BC_CommonBitSource * BC_PDF417Codeword * fx_codec_flate.h (the .cpp file still exists) Review-Url: https://codereview.chromium.org/2071953002
Diffstat (limited to 'core')
-rw-r--r--core/fxcodec/codec/fx_codec_flate.cpp1
-rw-r--r--core/fxcodec/include/fx_codec_flate.h33
2 files changed, 0 insertions, 34 deletions
diff --git a/core/fxcodec/codec/fx_codec_flate.cpp b/core/fxcodec/codec/fx_codec_flate.cpp
index d32a8a13ba..fd86cf3380 100644
--- a/core/fxcodec/codec/fx_codec_flate.cpp
+++ b/core/fxcodec/codec/fx_codec_flate.cpp
@@ -10,7 +10,6 @@
#include <memory>
#include "core/fxcodec/include/fx_codec.h"
-#include "core/fxcodec/include/fx_codec_flate.h"
#include "core/fxcrt/include/fx_ext.h"
#include "third_party/zlib_v128/zlib.h"
diff --git a/core/fxcodec/include/fx_codec_flate.h b/core/fxcodec/include/fx_codec_flate.h
deleted file mode 100644
index 83e9281b48..0000000000
--- a/core/fxcodec/include/fx_codec_flate.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2015 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 CORE_FXCODEC_INCLUDE_FX_CODEC_FLATE_H_
-#define CORE_FXCODEC_INCLUDE_FX_CODEC_FLATE_H_
-
-#include "third_party/zlib_v128/zlib.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-// Note: Some of these return Z_* status codes from zlib.h.
-void* FPDFAPI_FlateInit(void* (*alloc_func)(void*, unsigned int, unsigned int),
- void (*free_func)(void*, void*));
-void FPDFAPI_FlateInput(void* context,
- const unsigned char* src_buf,
- unsigned int src_size);
-int FPDFAPI_FlateOutput(void* context,
- unsigned char* dest_buf,
- unsigned int dest_size);
-int FPDFAPI_FlateGetAvailIn(void* context);
-int FPDFAPI_FlateGetAvailOut(void* context);
-void FPDFAPI_FlateEnd(void* context);
-
-#ifdef __cplusplus
-} // extern "C"
-#endif
-
-#endif // CORE_FXCODEC_INCLUDE_FX_CODEC_FLATE_H_