Remove dead code in SVGElement::ParseAttribute
The 'params.name == HTMLNames::classAttr' condition will never be true, because the if-block just above it will catch that case. The |class_name_| SVGAnimatedProperty object is registered in the attribute map. Retain and update the comment about the somewhat special handling of the 'class' attribute. Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I9928fb6f9c29d5db961b7f937fe4b1c0fb3fde82 Reviewed-on: https://chromium-review.googlesource.com/1179749Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#584067}
Showing
Please register or sign in to comment