summaryrefslogtreecommitdiff
path: root/core/fxge/cfx_gemodule.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-05-11 16:10:16 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-15 19:51:15 +0000
commit0c7f94f7f36d0bd8b0bbd0d3d440a8953499d47a (patch)
treebbccec58d7495918973959a9220f8fc46823556a /core/fxge/cfx_gemodule.h
parent4b78b18a87210d2d7550aa6c097f54ebf2c95e02 (diff)
downloadpdfium-0c7f94f7f36d0bd8b0bbd0d3d440a8953499d47a.tar.xz
Remove gamma code
The gamma value is always 2.2, which means the table entries all point to themselves. Remove the usage of the gamma table. Change-Id: Idbb06015e8acd9f106f4bd1da5ef06563fb26296 Reviewed-on: https://pdfium-review.googlesource.com/5352 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxge/cfx_gemodule.h')
-rw-r--r--core/fxge/cfx_gemodule.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/fxge/cfx_gemodule.h b/core/fxge/cfx_gemodule.h
index e51ddde967..429f7d9a39 100644
--- a/core/fxge/cfx_gemodule.h
+++ b/core/fxge/cfx_gemodule.h
@@ -24,8 +24,6 @@ class CFX_GEModule {
void Init(const char** pUserFontPaths);
CFX_FontCache* GetFontCache();
CFX_FontMgr* GetFontMgr() { return m_pFontMgr.get(); }
- void SetTextGamma(float gammaValue);
- const uint8_t* GetTextGammaTable() const;
CCodec_ModuleMgr* GetCodecModule() { return m_pCodecModule.get(); }
void* GetPlatformData() { return m_pPlatformData; }
@@ -37,7 +35,6 @@ class CFX_GEModule {
void InitPlatform();
void DestroyPlatform();
- uint8_t m_GammaValue[256];
std::unique_ptr<CFX_FontCache> m_pFontCache;
std::unique_ptr<CFX_FontMgr> m_pFontMgr;
std::unique_ptr<CCodec_ModuleMgr> m_pCodecModule;