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 0592c97176d8a3445d69d82510e0795bf74b567b..52576043e39daf982f43c43f1d45b026feeef7ea 100644 |
--- a/core/fpdfapi/fpdf_page/fpdf_page_parser.cpp |
+++ b/core/fpdfapi/fpdf_page/fpdf_page_parser.cpp |
@@ -146,8 +146,8 @@ CFX_FloatRect GetShadingBBox(CPDF_ShadingPattern* pShading, |
bStarted = true; |
} |
} |
- FX_SAFE_UINT32 nBits = stream.comps(); |
- nBits *= stream.CompBits(); |
+ FX_SAFE_UINT32 nBits = stream.Components(); |
+ nBits *= stream.ComponentBits(); |
nBits *= color_count; |
if (!nBits.IsValid()) |
break; |