Index: core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp |
diff --git a/core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp b/core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp |
index 44492b1a54e31f4a7613d554c28d341135355a99..a294d3bce75573532703d0af0e22ce4581e89599 100644 |
--- a/core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp |
+++ b/core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp |
@@ -123,10 +123,10 @@ CFX_FloatRect CPDF_ClipPath::GetClipBox() const { |
bLayerStarted = FALSE; |
} else { |
if (!bLayerStarted) { |
- layer_rect = pTextObj->GetBBox(NULL); |
+ layer_rect = CFX_FloatRect(pTextObj->GetBBox(nullptr)); |
bLayerStarted = TRUE; |
} else { |
- layer_rect.Union(pTextObj->GetBBox(NULL)); |
+ layer_rect.Union(CFX_FloatRect(pTextObj->GetBBox(nullptr))); |
} |
} |
} |