64 RetainPtr<
const CPDF_Stream> thumb_stream =
65 CPDFStreamForThumbnailFromPage(page);
71 std::move(thumb_stream));
72 const CPDF_DIB::
LoadState start_status = dib_source->StartLoadDIBBase(
73 false,
nullptr, pdf_page->GetPageResources().Get(),
false,
78 auto thumb_bitmap = pdfium::MakeRetain<CFX_DIBitmap>();
79 if (!thumb_bitmap->Copy(
std::move(dib_source))) {
83 return FPDFBitmapFromCFXDIBitmap(thumb_bitmap.Leak());
CPDF_Document * GetDocument() const override