commit | cc0832ef5294b0abffe1c892a5d055ce0e202b0a | [log] [tgz] |
---|---|---|
author | Dan Elphick <delphick@chromium.org> | Mon Dec 24 11:31:23 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Dec 24 11:31:23 2018 |
tree | da11a54a8d7a3db9d4db8feae3539c632bb2c10f | |
parent | 159dbdc8aaf3b1ed58d2cd1cb45235b858b1feae [diff] |
[cleanup] Fix uses of deprecated v8 GetPropertyNames Replace deprecated GetPropertyNames() with GetPropertyNames(context).ToLocalChecked(). The previous version obtained the Context implicitly which could be wrong if the Context was not properly restored. Additionally the previous version does not force checking of the exception status which the new version does via the V8_WARN_UNUSED_RESULT macro. Bug: v8:7286, v8:8562 Change-Id: If144eb10b4ba0f045ac13af02d1054ffa7e492c1 Reviewed-on: https://chromium-review.googlesource.com/c/1388107 Commit-Queue: Dan Elphick <delphick@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#618817}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .