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

Issue 1991513003: Lock animated property type of result animation during processing (Closed)

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

Description

Lock animated property type of result animation during processing There seems to be a crash due to the animated property type being cleared too early. To catch this crash at the point of error, lock the animated property type of the result animation during processing, and guard for clearing the animation property while the lock is held (in clearAnimatedType()). This can potentially be removed when the source of the bug is found. BUG=581546 Committed: https://crrev.com/cd3dc7b24a97f9dda9e97e803449bde09fe0cb32 Cr-Commit-Position: refs/heads/master@{#394726}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove virtualness #

Total comments: 1

Patch Set 3 : Update comment and mention bug. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -2 lines) Patch
M third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp View 2 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h View 1 2 chunks +6 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 19 (9 generated)
davve
Something like this you had in mind, sof? Do you think it would catch the ...
4 years, 7 months ago (2016-05-18 15:55:26 UTC) #4
fs
(fixed sof's email =)) I'd be fine with something like this. https://codereview.chromium.org/1991513003/diff/1/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h File third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h (right): ...
4 years, 7 months ago (2016-05-18 16:10:40 UTC) #6
davve
On 2016/05/18 16:10:40, fs wrote: > (fixed sof's email =)) doh! Thanks. Conscious effort to ...
4 years, 7 months ago (2016-05-19 06:35:53 UTC) #7
davve
https://codereview.chromium.org/1991513003/diff/1/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h File third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h (right): https://codereview.chromium.org/1991513003/diff/1/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h#newcode113 third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h:113: virtual void lockAnimatedType() = 0; On 2016/05/18 16:10:40, fs ...
4 years, 7 months ago (2016-05-19 06:38:49 UTC) #8
sof
lgtm to try (to perturb.) https://codereview.chromium.org/1991513003/diff/20001/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp File third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp (right): https://codereview.chromium.org/1991513003/diff/20001/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp#newcode291 third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp:291: // later if we ...
4 years, 7 months ago (2016-05-19 06:45:44 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1991513003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1991513003/40001
4 years, 7 months ago (2016-05-19 06:54:42 UTC) #11
fs
lgtm
4 years, 7 months ago (2016-05-19 07:44:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1991513003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1991513003/40001
4 years, 7 months ago (2016-05-19 08:13:40 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-19 10:24:54 UTC) #17
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 10:26:57 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cd3dc7b24a97f9dda9e97e803449bde09fe0cb32
Cr-Commit-Position: refs/heads/master@{#394726}

Powered by Google App Engine
This is Rietveld 408576698