DescriptionMake CPDF_ClipPath have a CPDF_ClipPathData rather than inheriting.
Make Data private to the ClipPath class which manages it
transparently for its callers. This prevents the callers
from having to remember to make a copy before dirtying the
shared data, since the operations that modify state will do
this under the covers for us.
Committed: https://pdfium.googlesource.com/pdfium/+/d21f22e2c07d61bf15ee3af91869901adb6f0cde
Patch Set 1 #Patch Set 2 : comment #Patch Set 3 : rebase #Patch Set 4 : Speculative fix: operator== #Patch Set 5 : safe bool while we're at it #
Messages
Total messages: 23 (15 generated)
|