Refactor: Replace excess uses of WTF::HashSet::Find with WTF::HashSet::Contains
- I saw that we use HashSet::Find(T Value) == HashSet::End(). HashSet::Contains is simpler, so I figure we should change it where applicable. Thankfully, we don't use Hashset::Find(..) == HashSet::End() too often. - Likely no logic changes. Change-Id: If6d595877318d0de9c8510a2b489871a16767c56 Reviewed-on: https://chromium-review.googlesource.com/c/1496249Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Darwin Huang <huangdarwin@chromium.org> Cr-Commit-Position: refs/heads/master@{#636745}
Showing
Please register or sign in to comment