diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-24 10:12:15 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-24 10:12:15 -0800 |
commit | 51a458c75a07ec17dd3e0e142ccd10157cadb21f (patch) | |
tree | 9dc9ece28a2afbd3a35d321faf54e2482aecd1b9 /fpdfsdk/src | |
parent | 50d12ada784ad3ba3f9ed6935d59f1ce828695e5 (diff) | |
download | pdfium-51a458c75a07ec17dd3e0e142ccd10157cadb21f.tar.xz |
Fix build broken at 50d12ad.
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1477483002 .
Diffstat (limited to 'fpdfsdk/src')
-rw-r--r-- | fpdfsdk/src/fsdk_baseform.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fpdfsdk/src/fsdk_baseform.cpp b/fpdfsdk/src/fsdk_baseform.cpp index f6edc3b143..aac27316ea 100644 --- a/fpdfsdk/src/fsdk_baseform.cpp +++ b/fpdfsdk/src/fsdk_baseform.cpp @@ -2263,10 +2263,7 @@ void CPDFSDK_InterForm::XfaSetValidationsEnabled(FX_BOOL bEnabled) { #ifdef _WIN32 CPDF_Stream* CPDFSDK_InterForm::LoadImageFromFile(const CFX_WideString& sFile) { - ASSERT(m_pDocument != NULL); - CPDF_Document* pDocument = m_pDocument->GetDocument()->GetPDFDoc(); - ASSERT(pDocument != NULL); - + CPDF_Document* pDocument = m_pDocument->GetPDFDocument(); CPDF_Stream* pRetStream = NULL; if (CFX_DIBitmap* pBmp = CFX_WindowsDIB::LoadFromFile(sFile.c_str())) { |