commit | bf91b3e9e1355a0d2dacd2efcdf4d971bd5c1e87 | [log] [tgz] |
---|---|---|
author | bashi <bashi@chromium.org> | Tue Sep 29 02:27:47 2015 |
committer | Commit bot <commit-bot@chromium.org> | Tue Sep 29 02:28:32 2015 |
tree | cd1e099871c2e91806cbee0c75faa49adb34fed0 | |
parent | 1f3b25c8d78be73787d4d4c577d2f5e9f826ab46 [diff] |
Store |detail| as a hidden value of custom event wrappers We cannot hold strong references from Blink to V8. This means that we shouldn't use ScriptValue in DOM impl objects. To stop using ScriptValue in CustomEvent, store |detail| as a hidden value of custom event wrappers and return it when the getter of |detail| is called. BUG=529941 Review URL: https://codereview.chromium.org/1372513002 Cr-Commit-Position: refs/heads/master@{#351242}