Reuse the TryCatch scope whe retrieving custom element properties.
Defining a custom element retrieves various properties. Previously each retrieval used a separate TryCatch, which turns out to be expensive. This makes them reuse a single TryCatch. Bug: 710184 Change-Id: Ieadd5ba9c9197fd4a4a0b6b1faf3861d1df53f3b Reviewed-on: https://chromium-review.googlesource.com/520962Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Dominic Cooney <dominicc@chromium.org> Cr-Commit-Position: refs/heads/master@{#476542}
Showing
Please register or sign in to comment