Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(592)

Issue 2005693002: Delay SVGImage animations reset while being updated. (Closed)

Created:
4 years, 7 months ago by sof
Modified:
4 years, 5 months ago
Reviewers:
davve, pdr., fs
CC:
blink-reviews, chromium-reviews, krit, f(malita), gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Delay SVGImage animations reset while being updated. When the SVGImage animations timer is serviced, a strong reference is kept on the stack to the image's underlying ImageResource -- preventing it from being GCed as it isn't stack-reachable from SVGImageChromeClient. Additionally strengthen that ImageResource lock and prevent calls to resetAnimation() on the SVGImage, should those GCs finalize all clients registered with the ImageResource and the reset operation then being attempted. Doing so is troublesome for the animations update that is in-flight (see associated bugs), so we delay the reset until the update has completed. BUG=613709, 581546

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -5 lines) Patch
M third_party/WebKit/Source/core/svg/graphics/SVGImage.h View 3 chunks +27 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp View 3 chunks +32 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp View 1 chunk +11 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
sof
please take a look. Kind of blunt, but I think it's worthwhile to address this ...
4 years, 7 months ago (2016-05-23 14:54:10 UTC) #3
davve
On 2016/05/23 14:54:10, sof wrote: > please take a look. > > Kind of blunt, ...
4 years, 7 months ago (2016-05-24 07:21:55 UTC) #4
sof
On 2016/05/24 07:21:55, David Vest wrote: > On 2016/05/23 14:54:10, sof wrote: > > please ...
4 years, 7 months ago (2016-05-24 07:25:26 UTC) #5
davve
On 2016/05/24 07:25:26, sof wrote: > On 2016/05/24 07:21:55, David Vest wrote: ... > > ...
4 years, 7 months ago (2016-05-24 07:34:57 UTC) #6
fs
On 2016/05/24 at 07:34:57, davve wrote: > On 2016/05/24 07:25:26, sof wrote: > > On ...
4 years, 7 months ago (2016-05-24 10:52:12 UTC) #8
sof
On 2016/05/24 10:52:12, fs wrote: > On 2016/05/24 at 07:34:57, davve wrote: > > On ...
4 years, 6 months ago (2016-05-24 14:02:20 UTC) #9
sof
4 years, 5 months ago (2016-07-14 12:57:39 UTC) #10
https://codereview.chromium.org/2004263003/ landed some time ago, closing.

Powered by Google App Engine
This is Rietveld 408576698