Pass through blink::Element::GetIdAttribute to WebElement
Rather than manually retrieve the "id" attribute, it is cleaner and faster to use the existing blink::Element method, which is optimized [1]. This should have no behavior changes. [1] https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/dom/element.h;l=1326;drc=9f3ae654ee080ec3ccb5c3f85a51f5e880f5f18e Change-Id: Ic7634eaa8e8057315d83317862ae16428ee15078 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2628029Reviewed-by:Dominic Battré <battre@chromium.org> Reviewed-by:
Philip Rogers <pdr@chromium.org> Commit-Queue: Mason Freed <masonfreed@chromium.org> Cr-Commit-Position: refs/heads/master@{#843783}
Showing
Please register or sign in to comment