From d931476503bc3ed2f0f6dda1ca2c18ef03bb1511 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 16 Jun 2016 14:59:56 -0700 Subject: 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 --- core/fxcodec/codec/fx_codec_flate.cpp | 1 - core/fxcodec/include/fx_codec_flate.h | 33 --------------------------------- 2 files changed, 34 deletions(-) delete mode 100644 core/fxcodec/include/fx_codec_flate.h (limited to 'core/fxcodec') 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 #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_ -- cgit v1.2.3