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

Issue 1566423002: Avoid LSan false positives from CSSPathValue::emptyValue(). (Closed)

Created:
4 years, 11 months ago by sof
Modified:
4 years, 11 months ago
Reviewers:
oilpan-reviews, haraken
CC:
chromium-reviews, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid LSan false positives from CSSPathValue::emptyValue(). LSan reports a leak on SVGComputedStyleTest.MiscStyleShouldCompareValue (with Oilpan), stemming from emptyValue()'s allocation of an SVGPathByteStream object. Introduce a local constructor function that explicitly keeps this sub-object from LSan's view -- it is owned by the emptyValue singleton and shouldn't be considered a leak. R=haraken BUG= Committed: https://crrev.com/08494b981bbe6e9925ffd6663e65b6151bdd9425 Cr-Commit-Position: refs/heads/master@{#368329} Committed: https://crrev.com/25b2a54f62c44915daf16184699640f4ef467a70 Cr-Commit-Position: refs/heads/master@{#368346}

Patch Set 1 #

Patch Set 2 : Rebase and adjust to RefPtr<> #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -1 line) Patch
M third_party/WebKit/Source/core/css/CSSPathValue.cpp View 1 1 chunk +14 lines, -1 line 0 comments Download

Messages

Total messages: 24 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1566423002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1566423002/1
4 years, 11 months ago (2016-01-08 12:20:54 UTC) #2
sof
please take a look. With https://codereview.chromium.org/1564323002/ in scope, the one remaining LSan leak on webkit_unit_tests ...
4 years, 11 months ago (2016-01-08 12:21:50 UTC) #4
haraken
LGTM
4 years, 11 months ago (2016-01-08 12:29:29 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-08 14:29:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1566423002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1566423002/1
4 years, 11 months ago (2016-01-08 14:40:32 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-08 14:44:51 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/08494b981bbe6e9925ffd6663e65b6151bdd9425 Cr-Commit-Position: refs/heads/master@{#368329}
4 years, 11 months ago (2016-01-08 14:45:34 UTC) #14
Marc Treib
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/1570513005/ by treib@chromium.org. ...
4 years, 11 months ago (2016-01-08 14:52:52 UTC) #15
sof
rebased; relanding.
4 years, 11 months ago (2016-01-08 15:16:31 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1566423002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1566423002/20001
4 years, 11 months ago (2016-01-08 15:16:50 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-08 16:21:46 UTC) #22
commit-bot: I haz the power
4 years, 11 months ago (2016-01-08 16:22:50 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/25b2a54f62c44915daf16184699640f4ef467a70
Cr-Commit-Position: refs/heads/master@{#368346}

Powered by Google App Engine
This is Rietveld 408576698