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

Issue 133273005: [SVG] Defer recursive detachAnimatedProperty call to avoid touching invalidated iterator (Closed)

Created:
6 years, 11 months ago by kouhei (in TOK)
Modified:
6 years, 11 months ago
Reviewers:
pdr.
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), rwlbuis, dstockwell, Timothy Loh, krit, f(malita), darktears, pdr, Stephen Chennney, Steve Block, dino_apple.com, Eric Willigers
Visibility:
Public.

Description

[SVG] Defer recursive detachAnimatedProperty call to avoid touching invalidated iterator. This is a workaround patch for detachAnimatedProperty recursively being called for SVGSVGElement. This patch postpones the SVGAnimatedProperty dtor being called until we finish touching the HashMap, so it wont touch invalidated HashMap iterator. BUG=333156 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165070

Patch Set 1 #

Patch Set 2 : fix compile err #

Total comments: 7

Patch Set 3 : removed vec #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M Source/core/svg/properties/SVGAnimatedProperty.cpp View 1 2 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
kouhei (in TOK)
pdr: Would you take a look? This is not a fundamental solution, but I couldn't ...
6 years, 11 months ago (2014-01-14 03:10:37 UTC) #1
pdr.
https://codereview.chromium.org/133273005/diff/20001/Source/core/svg/properties/SVGAnimatedProperty.cpp File Source/core/svg/properties/SVGAnimatedProperty.cpp (right): https://codereview.chromium.org/133273005/diff/20001/Source/core/svg/properties/SVGAnimatedProperty.cpp#newcode59 Source/core/svg/properties/SVGAnimatedProperty.cpp:59: // Workaround for http://crbug.com/333156 : Please remove the workaround ...
6 years, 11 months ago (2014-01-14 04:33:24 UTC) #2
kouhei (in TOK)
https://codereview.chromium.org/133273005/diff/20001/Source/core/svg/properties/SVGAnimatedProperty.cpp File Source/core/svg/properties/SVGAnimatedProperty.cpp (right): https://codereview.chromium.org/133273005/diff/20001/Source/core/svg/properties/SVGAnimatedProperty.cpp#newcode64 Source/core/svg/properties/SVGAnimatedProperty.cpp:64: deferredPropertyDestruct.append(cache->get(*it)); On 2014/01/14 04:33:25, pdr wrote: > I'm okay ...
6 years, 11 months ago (2014-01-14 04:45:07 UTC) #3
pdr.
On 2014/01/14 04:45:07, kouhei wrote: > https://codereview.chromium.org/133273005/diff/20001/Source/core/svg/properties/SVGAnimatedProperty.cpp > File Source/core/svg/properties/SVGAnimatedProperty.cpp (right): > > https://codereview.chromium.org/133273005/diff/20001/Source/core/svg/properties/SVGAnimatedProperty.cpp#newcode64 > ...
6 years, 11 months ago (2014-01-14 04:51:25 UTC) #4
kouhei (in TOK)
pdr: PTAL https://codereview.chromium.org/133273005/diff/20001/Source/core/svg/properties/SVGAnimatedProperty.cpp File Source/core/svg/properties/SVGAnimatedProperty.cpp (right): https://codereview.chromium.org/133273005/diff/20001/Source/core/svg/properties/SVGAnimatedProperty.cpp#newcode59 Source/core/svg/properties/SVGAnimatedProperty.cpp:59: // Workaround for http://crbug.com/333156 : On 2014/01/14 ...
6 years, 11 months ago (2014-01-14 04:51:26 UTC) #5
kouhei (in TOK)
Thanks for review!
6 years, 11 months ago (2014-01-14 04:51:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/133273005/80001
6 years, 11 months ago (2014-01-14 04:58:53 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=22625
6 years, 11 months ago (2014-01-14 08:57:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/133273005/80001
6 years, 11 months ago (2014-01-14 12:59:56 UTC) #9
commit-bot: I haz the power
6 years, 11 months ago (2014-01-14 15:49:32 UTC) #10
Message was sent while issue was closed.
Change committed as 165070

Powered by Google App Engine
This is Rietveld 408576698