DescriptionChange the forced clear order of CPDF_DocPageData::Clear, and remove m_pDocument in CPDF_Color
If not forced clear, the counter of CPDF_Pattern will take care the count of referenced instance.
When forced clear, clear color first to make sure pattern still exists when referencing it.
BUG=411154
R=tsepez@chromium.org
Committed: https://pdfium.googlesource.com/pdfium/+/9175beec2686231fe284e8c8095d04668817509b
Patch Set 1 #Patch Set 2 : Remove m_pDocument in CPDF_Color and change order when force clear #
Total comments: 4
Patch Set 3 : Nit #
Messages
Total messages: 7 (1 generated)
|