diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-16 16:20:08 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-16 16:20:08 +0000 |
commit | 048d7f7c1e0c6c42679a5646ae9db5b7d98ed755 (patch) | |
tree | 42701f3662d9454d7ce23fcf8cae1c3108763095 /core/fxge/dib/cfx_dibextractor.cpp | |
parent | 2a3377ce9a39d47d29c95d5db64690ad749d8c94 (diff) | |
download | pdfium-048d7f7c1e0c6c42679a5646ae9db5b7d98ed755.tar.xz |
Remove more optional args in core/
Change-Id: I6a2bd03e00ad4e3d57f6931c0c6cf4ae0c760afb
Reviewed-on: https://pdfium-review.googlesource.com/40290
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxge/dib/cfx_dibextractor.cpp')
-rw-r--r-- | core/fxge/dib/cfx_dibextractor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/dib/cfx_dibextractor.cpp b/core/fxge/dib/cfx_dibextractor.cpp index 13ad461cb1..9fe3114b1f 100644 --- a/core/fxge/dib/cfx_dibextractor.cpp +++ b/core/fxge/dib/cfx_dibextractor.cpp @@ -16,7 +16,7 @@ CFX_DIBExtractor::CFX_DIBExtractor(const RetainPtr<CFX_DIBSource>& pSrc) { RetainPtr<CFX_DIBSource> pOldSrc(pSrc); m_pBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); if (!m_pBitmap->Create(pOldSrc->GetWidth(), pOldSrc->GetHeight(), - pOldSrc->GetFormat(), pOldSrc->GetBuffer())) { + pOldSrc->GetFormat(), pOldSrc->GetBuffer(), 0)) { m_pBitmap.Reset(); return; } |