Index: core/fpdfapi/fpdf_page/fpdf_page_parser.cpp |
diff --git a/core/fpdfapi/fpdf_page/fpdf_page_parser.cpp b/core/fpdfapi/fpdf_page/fpdf_page_parser.cpp |
index ddea2e653d7aeafef59c0013a609891abcc81240..0592c97176d8a3445d69d82510e0795bf74b567b 100644 |
--- a/core/fpdfapi/fpdf_page/fpdf_page_parser.cpp |
+++ b/core/fpdfapi/fpdf_page/fpdf_page_parser.cpp |
@@ -106,8 +106,8 @@ CFX_FloatRect GetShadingBBox(CPDF_ShadingPattern* pShading, |
if (!pStream || !pCS) |
return CFX_FloatRect(0, 0, 0, 0); |
- CPDF_MeshStream stream(pShading->GetFuncs(), pCS); |
- if (!stream.Load(pStream)) |
+ CPDF_MeshStream stream(type, pShading->GetFuncs(), pStream, pCS); |
+ if (!stream.Load()) |
return CFX_FloatRect(0, 0, 0, 0); |
CFX_FloatRect rect; |