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

Issue 315893002: SVGViewSpec wrapper should keep its context SVGSVGElement wrapper alive. (Closed)

Created:
6 years, 6 months ago by kouhei (in TOK)
Modified:
6 years, 6 months ago
Reviewers:
haraken, pdr.
CC:
blink-reviews, krit, arv+blink, fs, watchdog-blink-watchlist_google.com, ed+blinkwatch_opera.com, f(malita), gyuyoung.kim_webkit.org, Inactive, Stephen Chennney, kouhei+svg_chromium.org, rwlbuis, inferno
Visibility:
Public.

Description

SVGViewSpec wrapper should keep its context SVGSVGElement wrapper alive. There seems to be some cases where a SVGSVGElement wrapper is gc-ed while the SVGSVGElement is alive. However, |m_transform| and other properties held by SVGViewSpec manage its lifetime via the SVGSVGElement v8 wrapper. This patch avoids the situation by keeping the context SVGSVGElement wrapper alive from SVGViewSpec wrapper. BUG=379998 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175772

Patch Set 1 #

Patch Set 2 : fix compile #

Patch Set 3 : rebaseline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -13 lines) Patch
M LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash.html View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash-expected.txt View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/svg/SVGViewSpec.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGViewSpec.idl View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
kouhei (in TOK)
haraken, pdr: Would you take a look? I confirmed that this will fix the fuzzer ...
6 years, 6 months ago (2014-06-04 06:57:22 UTC) #1
haraken
Although it's a shame that you cannot write a test case for this (and thus ...
6 years, 6 months ago (2014-06-04 07:15:39 UTC) #2
pdr.
On 2014/06/04 07:15:39, haraken wrote: > Although it's a shame that you cannot write a ...
6 years, 6 months ago (2014-06-05 02:33:14 UTC) #3
pdr.
Could you investigate whether we have the same issue with other tearoff types (e.g., SVGMatrix ...
6 years, 6 months ago (2014-06-09 03:06:54 UTC) #4
kouhei (in TOK)
> https://code.google.com/p/chromium/issues/detail?id=379998#c21 addresses my > concerns with this patch. Thank you for taking the time ...
6 years, 6 months ago (2014-06-09 03:48:38 UTC) #5
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 6 months ago (2014-06-09 03:48:40 UTC) #6
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 6 months ago (2014-06-09 03:48:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/315893002/40001
6 years, 6 months ago (2014-06-09 03:48:53 UTC) #8
kouhei (in TOK)
On 2014/06/09 03:06:54, pdr wrote: > Could you investigate whether we have the same issue ...
6 years, 6 months ago (2014-06-09 03:52:58 UTC) #9
commit-bot: I haz the power
6 years, 6 months ago (2014-06-09 04:42:21 UTC) #10
Message was sent while issue was closed.
Change committed as 175772

Powered by Google App Engine
This is Rietveld 408576698