From 9bd8b4c8687cc95bed5df131ca8764f9ce203944 Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Fri, 7 Apr 2017 16:06:36 -0400 Subject: Clean up unneeded code in agg and skia driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The agg driver never initializes an ICC transform and always uses an alpha_flag equal to 0 in a couple of methods. - The skia driver is not using CFX_Renderer. If it needs it later, we should move it out of fx_agg_driver.cpp into its own file, instead of duplicating the code. Change-Id: Ibd721cf1760270bea3f8f95d6e1e8edbc6ba1792 Reviewed-on: https://pdfium-review.googlesource.com/3952 Reviewed-by: Tom Sepez Reviewed-by: Cary Clark Commit-Queue: Nicolás Peña --- core/fxge/agg/fx_agg_driver.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'core/fxge/agg/fx_agg_driver.h') diff --git a/core/fxge/agg/fx_agg_driver.h b/core/fxge/agg/fx_agg_driver.h index 3eb56c507e..1ce97d7853 100644 --- a/core/fxge/agg/fx_agg_driver.h +++ b/core/fxge/agg/fx_agg_driver.h @@ -101,9 +101,7 @@ class CFX_AggDeviceDriver : public IFX_RenderDeviceDriver { bool RenderRasterizer(agg::rasterizer_scanline_aa& rasterizer, uint32_t color, bool bFullCover, - bool bGroupKnockout, - int alpha_flag, - void* pIccTransform); + bool bGroupKnockout); void SetClipMask(agg::rasterizer_scanline_aa& rasterizer); -- cgit v1.2.3