v8bindings: Remove custom bindings of window.event
Currently, window.event is implemented as a private symbol property stored on the Window JavaScript object itself. While doing so may have simplified memory management when the code was first written versus storing the event in C++, it does not anymore with Oilpan and unified heap. This also has no performance benefits, since each call to event() has had to jump through multiple C++/JS boundaries. The custom setter for Window.event was previous removed in r538391. This CL removes the custom getter. Bug: 236420 Change-Id: I67e862dda8c5a0248436ea90553fbf0b9b37aca9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2225505 Commit-Queue: Timothy Gu <timothygu@chromium.org> Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#774170}
Showing
Please register or sign in to comment