-
Jeremy Roman authored
It provides a concise syntax for using CreateDataProperty to create data objects without invoking any setters that may exist on the prototype chain. Most call sites were doing this already via SafeSetV8Property, but DataObjectBuilder is clearer. gin::DataObjectBuilder is extended to accept indices in addition to string keys. Bug: 689396 Change-Id: I0ef4119a73a0d6a6739b8f9e871bcc665c7543f2 Reviewed-on: https://chromium-review.googlesource.com/524243 Reviewed-by: Jochen Eisinger <jochen@chromium.org> Reviewed-by: Devlin <rdevlin.cronin@chromium.org> Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#478706}
f9a94381