• Dan Elphick's avatar
    [deprecation] Deprecate ToBoolean(Local<Context>) · d235f550
    Dan Elphick authored
    ToBoolean and BooleanValue cannot throw exceptions so the Maybe versions
    of the functions don't make sense. As such this deprecates the Maybe
    versions and undeprecates ToBoolean(Isolate*). It also adds
    BooleanValue(Isolate*).
    
    Fix up all of the v8 code to not use the deprecated functions.
    
    Bug: v8:7279, v8:8015
    Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;luci.chromium.try:linux_chromium_rel_ng;master.tryserver.blink:linux_trusty_blink_rel
    Change-Id: I50e7474d205c75baa153f0dea7f02dcf60232d1d
    Reviewed-on: https://chromium-review.googlesource.com/1238476
    Commit-Queue: Dan Elphick <delphick@chromium.org>
    Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#56163}
    d235f550
value-serializer-unittest.cc 108 KB