Chromium Code Reviews
DescriptionMerge 157801 "Fix lifetime handling of SVGPropertyTearOffs."
> Fix 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
>
> Review URL: https://chromiumcodereview.appspot.com/23995018
TBR=ojan@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157842
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||