DescriptionSVGElement::parseAttribute resolves property via property map (Step 1)
This CL introduces |SVGElement::parseAttributeNew|, a new
|SVGElement::parseAttribute| implementation based on property map.
Before this patch, |SVG(.*)Element::parseAttribute| used chained if stmts
to resolve SVGAnimatedProperty. This patch changes it to resolve using
property map.
This is to replace the existing |SVGElement::parseAttribute| implementation,
but as there are many callers, we would like to proceed this incrementally.
a) Introduce |SVGElement::parseAttributeNew|
b) Convert all overrides |SVGElement::parseAttribute| to
a |parseAttributeNew| call.
c) Replace existing |parseAttribute| with |parseAttributeNew|, and remove all
overrides simply calling |parseAttributeNew|
This patch is (a). This patch also converts |SVG{Graphics,Rect}Element::parseAttribute| to start with (b).
BUG=397902
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179019
Patch Set 1 #
Total comments: 1
Patch Set 2 : add OVERRIDE keywords #
Total comments: 4
Patch Set 3 : Add return #
Messages
Total messages: 12 (0 generated)
|