Description[svg] TearOffs dynamically hold on to the current contextElement().
Prior to this patch, TearOffs held on to contextElement() resolved at creation time. This was on based on an assumption that contextElement() never change. However, this assumption is wrong, as animatedProperty and its contextElement() can be dynamically assigned if an existing (detached) TearOff is made an item of SVG*ListProperty afterwards.
This patch fixes the issue by dynamically holding on to the current contextElement() by using SetReference inside resolveWrapperReachability callback.
BUG=317097
BUG=318577
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161752
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161895
Patch Set 1 #
Total comments: 2
Patch Set 2 : fix test #Patch Set 3 : fix includes #Patch Set 4 : winfix #Patch Set 5 : gchack #
Total comments: 1
Messages
Total messages: 24 (0 generated)
|