Remove variable shadowing in blink/svg
In an effort to reduce or even ban symbol shadowing, this renames a variable to avoid such shadowing. I'm interested in prohibiting shadowing because I think it might prevent potential jumbo problems. The exact error this avoids is: third_party/blink/renderer/core/svg/svg_svg_element.cc:456:28: error: declaration shadows a local variable [-Werror,-Wshadow] TransformationMatrix transform; ^ third_party/blink/renderer/core/svg/svg_svg_element.cc:449:19: note: previous declaration is here AffineTransform transform; ^ Bug: 923510 Change-Id: I99c001d0eb513d73bfc33d540601479a6fd7280d Reviewed-on: https://chromium-review.googlesource.com/c/1482975 Auto-Submit: Daniel Bratell <bratell@opera.com> Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by:Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#634676}
Showing
Please register or sign in to comment