Omnibox: don't assume omnibox has focus in OnAfterPossibleChange().
On Linux, right clicking in the omnibox does not give it focus, so right-clicking and pasting can change the contents without focus in the omnibox. Take out the DCHECK that assumes this cannot happen. Also, change the focus_source_ to assume the source was OMNIBOX in these cases. BUG=271462 R=pkasting@chromium.org Review URL: https://codereview.chromium.org/22795005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217062 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment