DescriptionFix SVG sizing in crossfaded images
Wrap SVGImages inside SVGImageForContainer to maintain the correct
size. SVGImages are shared between all places the same resource is
used and the wrapper is necessary to get the proper size for a
particular instantiation.
BUG=574172
Committed: https://crrev.com/3ca78bf60493da8b2b7ad63f59bd169cb00a4947
Cr-Commit-Position: refs/heads/master@{#368816}
Patch Set 1 #
Total comments: 7
Patch Set 2 : Expand test to test both paths of cross-fade; 1.0 -> 1 literals #Patch Set 3 : Adjust test to make it more obvious when it fails #
Messages
Total messages: 22 (11 generated)
|