DescriptionImplement interfaces in PaintInfo and make it a class.
PaintInfo is a struct used all around in rendering, there is a FIXME that dates way
back to August 2011 to implement interfaces on it. This patch implement setters/getters as needed by
current rendering/svg classes.
It is interesting to observe that in several places, PaintInfo users were using a const pointer
to access its members and call non const methods on them (thus making the use of const qualifier in the
PaintInfo pointer at best useless and at worst misleading).
Attention to RenderSVGResourceFilter class since its apply/postApplyResource methods may write into
the received context, thus the need to restore the GraphicsContext in PaintInfo.
BUG=266575
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155955
Patch Set 1 #Patch Set 2 : Second try #
Total comments: 13
Patch Set 3 : Fixed Linux compilation (hopefuly Windows too), addressing some reviewer's suggestions. #
Total comments: 4
Patch Set 4 : Have a const function member to access the graphics context and a function for the ref-to-pointer c… #Patch Set 5 : Step 01: PaintContainer. #Messages
Total messages: 10 (0 generated)
|