Chromium Code Reviews
DescriptionFix lifetime handling of SVGPropertyTearOffs.
-Replace SVGStaticPropertyWithParentTearOff with SVGMatrixTearOff
since it's only used in that one place. This means we can get rid
of the templatizing and the method pointer.
-Change SVGPropertyTearOff to keep track of it's child tearoffs
and call detachWrapper on its child tearoffs when it's destroyed
or when it's wrapper is detached.
-Have SVGPropertyTearOff hold WeakPtrs to the child tearoffs
to avoid having a cycle.
BUG=288771
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157801
Patch Set 1 #
Total comments: 4
Patch Set 2 : address review comments #Patch Set 3 : fix ownership #
Messages
Total messages: 14 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||