From 48f776f7e801d719683b251dc21ee8c0e3250d90 Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Thu, 5 Jan 2017 13:22:17 -0500 Subject: Remove unused CPDF_ImageCacheEntry::GetCachedBitmap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GetCachedBitmap method is not being used. This removal simplifies some of the code. Change-Id: I075c245c3511e8a1b595c8ba148991f7c838f504 Reviewed-on: https://pdfium-review.googlesource.com/2154 Commit-Queue: Nicolás Peña Reviewed-by: Tom Sepez --- core/fxge/dib/fx_dib_engine_unittest.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/fxge') diff --git a/core/fxge/dib/fx_dib_engine_unittest.cpp b/core/fxge/dib/fx_dib_engine_unittest.cpp index dff53483b2..705d761ca8 100644 --- a/core/fxge/dib/fx_dib_engine_unittest.cpp +++ b/core/fxge/dib/fx_dib_engine_unittest.cpp @@ -24,8 +24,7 @@ TEST(CStretchEngine, OverflowInCtor) { std::unique_ptr stream = pdfium::MakeUnique(nullptr, 0, std::move(dict_obj)); CPDF_DIBSource dib_source; - dib_source.Load(nullptr, stream.get(), nullptr, nullptr, nullptr, nullptr, - false, 0, false); + dib_source.Load(nullptr, stream.get()); CStretchEngine engine(nullptr, FXDIB_8bppRgb, 500, 500, clip_rect, &dib_source, 0); EXPECT_EQ(FXDIB_INTERPOL, engine.m_Flags); -- cgit v1.2.3