| Index: core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp
|
| diff --git a/core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp b/core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp
|
| index 7896f83459ab7c80669ffdf27ac0931040eaeb0a..20278f71d94de09d7ba886daf9be64fc07cde6fb 100644
|
| --- a/core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp
|
| +++ b/core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp
|
| @@ -677,7 +677,7 @@ struct CPDF_PatchDrawer {
|
| fillFlags |= FXFILL_NOPATHSMOOTH;
|
| }
|
| pDevice->DrawPath(
|
| - &path, NULL, NULL,
|
| + &path, nullptr, nullptr,
|
| FXARGB_MAKE(alpha, div_colors[0].comp[0], div_colors[0].comp[1],
|
| div_colors[0].comp[2]),
|
| 0, fillFlags);
|
| @@ -1044,7 +1044,7 @@ void CPDF_RenderStatus::DrawTilingPattern(CPDF_TilingPattern* pPattern,
|
|
|
| if (width > clip_box.Width() || height > clip_box.Height() ||
|
| width * height > clip_box.Width() * clip_box.Height()) {
|
| - CPDF_GraphicStates* pStates = NULL;
|
| + CPDF_GraphicStates* pStates = nullptr;
|
| if (!pPattern->colored())
|
| pStates = CloneObjStates(pPageObj, bStroke);
|
|
|
|
|