• Dan Elphick's avatar
    [cleanup] Fix uses of deprecated v8 GetPropertyNames · cc0832ef
    Dan Elphick authored
    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: default avatarDaniel Cheng <dcheng@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#618817}
    cc0832ef
v8_value_converter_impl_unittest.cc 42.6 KB