commit | 11bd50343795ed1dc1977da91e9a1588687522fd | [log] [tgz] |
---|---|---|
author | sigbjornf <sigbjornf@opera.com> | Mon Dec 05 15:50:32 2016 |
committer | Commit bot <commit-bot@chromium.org> | Mon Dec 05 15:53:19 2016 |
tree | b18e6f7b603f1425b85c164aad539738011bec10 | |
parent | d43cbc46d55a25252f04431df5da5303ad066696 [diff] |
Eagerly dispose of ScheduledActions. The DOMTimer's ScheduledAction hold on to the script source and state needed to execute the timer action. Let go of ShceduledAction's resource early. Apart from reducing the lifetime of script source, this is a speculative fix for crashes reported in v8::PersistentValueVector::Clear() during lazy sweeping of ScheduledAction objects. R= BUG= Review-Url: https://codereview.chromium.org/2552673002 Cr-Commit-Position: refs/heads/master@{#436298}