Use HashMap::Take(...) in Document::RemoveComputedStyleMapItem
at(<key>)+erase(<key>) is two hash computations, which can be replaced with Take(<key>). Change-Id: I0300052c629177ffb5317a8b58c222f32b0c1e38 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1903201Reviewed-by:Rune Lillesveen <futhark@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#713452}
Showing
Please register or sign in to comment