From c68e08113892daf681e1f4b73e0c420110dfeb6e Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 26 Jan 2018 19:58:00 +0000 Subject: Pass nullptr to ParseContentWithParams() instead of 0. Change-Id: I4ec48652d41cea9a79b6711c08484965ceea7587 Reviewed-on: https://pdfium-review.googlesource.com/24130 Reviewed-by: Henrique Nakashima Commit-Queue: Lei Zhang --- core/fpdfapi/page/cpdf_tilingpattern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fpdfapi/page') diff --git a/core/fpdfapi/page/cpdf_tilingpattern.cpp b/core/fpdfapi/page/cpdf_tilingpattern.cpp index a5252578a5..02127b6368 100644 --- a/core/fpdfapi/page/cpdf_tilingpattern.cpp +++ b/core/fpdfapi/page/cpdf_tilingpattern.cpp @@ -49,7 +49,7 @@ bool CPDF_TilingPattern::Load() { const CFX_Matrix& matrix = parent_matrix(); m_pForm = pdfium::MakeUnique(document(), nullptr, pStream); - m_pForm->ParseContentWithParams(nullptr, &matrix, nullptr, 0); + m_pForm->ParseContentWithParams(nullptr, &matrix, nullptr, nullptr); m_BBox = pDict->GetRectFor("BBox"); return true; } -- cgit v1.2.3