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

Issue 1487813002: Avoid race-warning for access to animatableAttributes (Closed)

Created:
5 years ago by fs
Modified:
5 years ago
Reviewers:
chrishtr, pdr.
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

Avoid race-warning for access to animatableAttributes Collecting debug data during a commit in CC can land us in this method while not running in the main thread (although it'll be blocked). Since this is assert-only code, switch to a thread-safe initializer to avoid triggering this warning. Hopefully this doesn't slow things down to badly on bots. BUG=545972 Committed: https://crrev.com/56c43a002072a04abe25a77f400a1e3425ab8991 Cr-Commit-Position: refs/heads/master@{#363687}

Patch Set 1 #

Patch Set 2 : Header. #

Patch Set 3 : A-ha #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M third_party/WebKit/Source/core/svg/SVGElement.cpp View 1 2 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
pdr.
Why don't other define_static_locals have issues? They are all over the blink codebase.
5 years ago (2015-12-07 20:57:46 UTC) #3
fs
On 2015/12/07 at 20:57:46, pdr wrote: > Why don't other define_static_locals have issues? They are ...
5 years ago (2015-12-07 21:27:52 UTC) #4
pdr.
On 2015/12/07 at 21:27:52, fs wrote: > On 2015/12/07 at 20:57:46, pdr wrote: > > ...
5 years ago (2015-12-07 21:28:55 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1487813002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1487813002/40001
5 years ago (2015-12-07 21:31:20 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-08 01:26:50 UTC) #8
commit-bot: I haz the power
5 years ago (2015-12-08 01:27:55 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/56c43a002072a04abe25a77f400a1e3425ab8991
Cr-Commit-Position: refs/heads/master@{#363687}

Powered by Google App Engine
This is Rietveld 408576698