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 2482393002: [worklets] Fixes leak document leak for AnimationWorklet. (Closed)

Created:
4 years, 1 month ago by ikilpatrick
Modified:
4 years, 1 month ago
Reviewers:
haraken, nhiroki
CC:
chromium-reviews, shans, rjwright, blink-reviews-animation_chromium.org, darktears, blink-reviews, Eric Willigers
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[worklets] Fixes leak document leak for AnimationWorklet. It looks like this may have been a reference cycle between Document and AnimationWorklet. AnimationWorklet had a ThreadedMessagingProxyBase which held a persistent to Document. (ThreadedMessagingProxyBase was a raw pointer). The AnimationWorklet destructor was never being called at the right time to destroy the ThreadedMessagingProxyBase. Test: ./third_party/WebKit/Tools/Scripts/run-webkit-tests -t Default --additional-driver-flag=--enable-leak-detection third_party/WebKit/LayoutTests/virtual/threaded/http/tests/worklet/animation-worklet-import.html BUG=652535 Committed: https://crrev.com/643218b3cc1e809e8fbb5f23e1300d18a676dff4 Cr-Commit-Position: refs/heads/master@{#431081}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -5 lines) Patch
M third_party/WebKit/LayoutTests/LeakExpectations View 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
ikilpatrick
This fixes on my local machine so it'll be interesting to see if this works ...
4 years, 1 month ago (2016-11-09 06:36:34 UTC) #3
haraken
On 2016/11/09 06:36:34, ikilpatrick wrote: > This fixes on my local machine so it'll be ...
4 years, 1 month ago (2016-11-09 06:40:02 UTC) #6
nhiroki
LGTM :)
4 years, 1 month ago (2016-11-09 06:51:57 UTC) #7
nhiroki
On 2016/11/09 06:51:57, nhiroki wrote: > LGTM :) FYI: I confirmed my CL[1] doesn't cause ...
4 years, 1 month ago (2016-11-09 09:54:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2482393002/1
4 years, 1 month ago (2016-11-09 23:32:57 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-09 23:41:09 UTC) #14
commit-bot: I haz the power
4 years, 1 month ago (2016-11-09 23:51:15 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/643218b3cc1e809e8fbb5f23e1300d18a676dff4
Cr-Commit-Position: refs/heads/master@{#431081}

Powered by Google App Engine
This is Rietveld 408576698