summaryrefslogtreecommitdiff
path: root/core/fxge/dib
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-01-05 13:22:17 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-01-05 20:04:17 +0000
commit48f776f7e801d719683b251dc21ee8c0e3250d90 (patch)
tree53987e0b197419771088e4109ccc8283c705fdaf /core/fxge/dib
parent91fd904b6b5cdeed0f01617992df5235f79d3fa6 (diff)
downloadpdfium-48f776f7e801d719683b251dc21ee8c0e3250d90.tar.xz
Remove unused CPDF_ImageCacheEntry::GetCachedBitmap
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 <npm@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxge/dib')
-rw-r--r--core/fxge/dib/fx_dib_engine_unittest.cpp3
1 files changed, 1 insertions, 2 deletions
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<CPDF_Stream> stream =
pdfium::MakeUnique<CPDF_Stream>(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);