Fix bad state on an unusual sequence of events entering/leaving keyword mode.
commitf359166a9a5dc5c4ea15b0b718b643fc06d3c870
authorpkasting <pkasting@chromium.org>
Mon, 6 Jul 2015 23:52:25 +0000 (6 16:52 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 6 Jul 2015 23:52:49 +0000 (6 23:52 +0000)
tree0b0d79a89ba15810a034b56474f366fba8a3a331
parent814c9e90bb52a1debc89ad1571e3c952fea5ac0a
Fix bad state on an unusual sequence of events entering/leaving keyword mode.

A full explanation is in the comments in the code; the actual change is simple.

BUG=496300
TEST=See steps in comment 5 of the bug

Review URL: https://codereview.chromium.org/1210943007

Cr-Commit-Position: refs/heads/master@{#337519}
chrome/browser/ui/omnibox/omnibox_edit_model.cc