Use EnsureMutableInvalidationSet in RuleFeatureSet::AddInvalidationSet
Rather than calling EnsureInvalidationSet() and performing another lookup in |map|, just use the |slot| that we already have and call EnsureMutableInvalidationSet(). Also change to move the invalidation set into |slot| if it is empty. Change-Id: Ibefdf3ac7ef13fd3b7e05e4086405a0b980603f3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2289838 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Auto-Submit: Fredrik Söderquist <fs@opera.com> Reviewed-by:Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#786838}
Showing
Please register or sign in to comment