cbui extensions: fix anchor point
During the refactors in r723559 and prior two bugs crept in: 1) HasOmniboxKeyword() became inverted so that it returned true if there was *no* omnibox keyword (oops) 2) ShouldAnchorToOmnibox() came to mean "has omnibox keyword" rather than "has omnibox keyword *and* shouldn't anchor to browser/page action", which is what the old code had (oops again) This change fixes both of those errors. Bug: 1033856 Change-Id: I3c7a1a24d223b1893b4945a0aff6c79bc49c3ebc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1966360 Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by:Peter Boström <pbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#726409}
Showing
Please register or sign in to comment