| Index: core/fpdfapi/page/cpdf_shadingpattern.cpp
|
| diff --git a/core/fpdfapi/page/cpdf_shadingpattern.cpp b/core/fpdfapi/page/cpdf_shadingpattern.cpp
|
| index d2736870e1dbe3e9aa44344bddce6655c2563c3f..3b0b439a318513f297b876778bb5554c30436240 100644
|
| --- a/core/fpdfapi/page/cpdf_shadingpattern.cpp
|
| +++ b/core/fpdfapi/page/cpdf_shadingpattern.cpp
|
| @@ -62,12 +62,12 @@ CPDF_ShadingPattern* CPDF_ShadingPattern::AsShadingPattern() {
|
|
|
| bool CPDF_ShadingPattern::Load() {
|
| if (m_ShadingType != kInvalidShading)
|
| - return TRUE;
|
| + return true;
|
|
|
| CPDF_Dictionary* pShadingDict =
|
| m_pShadingObj ? m_pShadingObj->GetDict() : nullptr;
|
| if (!pShadingDict)
|
| - return FALSE;
|
| + return false;
|
|
|
| m_pFunctions.clear();
|
| CPDF_Object* pFunc = pShadingDict->GetDirectObjectFor("Function");
|
| @@ -82,7 +82,7 @@ bool CPDF_ShadingPattern::Load() {
|
| }
|
| CPDF_Object* pCSObj = pShadingDict->GetDirectObjectFor("ColorSpace");
|
| if (!pCSObj)
|
| - return FALSE;
|
| + return false;
|
|
|
| CPDF_DocPageData* pDocPageData = m_pDocument->GetPageData();
|
| m_pCS = pDocPageData->GetColorSpace(pCSObj, nullptr);
|
| @@ -93,7 +93,7 @@ bool CPDF_ShadingPattern::Load() {
|
|
|
| // We expect to have a stream if our shading type is a mesh.
|
| if (IsMeshShading() && !ToStream(m_pShadingObj))
|
| - return FALSE;
|
| + return false;
|
|
|
| - return TRUE;
|
| + return true;
|
| }
|
|
|