binding: Check dictionary members available before its use
The code generator will be updated soon (issue 839389), and the new generator does not allow to access missing members. This CL adds to check some mebers' exisntence before accessing them to avoid probable crash issues in ImageResouce. Bug: 839389 Change-Id: I06a5519c793269ecbb6d1f0718ff478cfcf0fb02 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2358932 Commit-Queue: Hitoshi Yoshida <peria@chromium.org> Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#799024}
Showing
Please register or sign in to comment