[ios] Compare ChromeIdentity by value
Ensuring ChromeIdentity uniqueness is currently thread-usafe. Removing the uniqueness guaranty requires that code correctly uses -isEqual: to compare identities by value instead of doing the comparison of pointers (like you use -isStringEqual: to compare NSString). After doing an audit of all code using ChromeIdentity, convert all the comparison that were using pointers comparison instead of -isEqual:. Bug: none Change-Id: I110cb8e289ccaf482dd7addf67f5d194aed98a75 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2139666 Auto-Submit: Sylvain Defresne <sdefresne@chromium.org> Commit-Queue: Jérôme Lebel <jlebel@chromium.org> Reviewed-by:Jérôme Lebel <jlebel@chromium.org> Cr-Commit-Position: refs/heads/master@{#757463}
Showing
Please register or sign in to comment