Cleanup: Remove an unnecessary AutocompleteMatch& calculation from
OmniboxEditModel::OpenMatch(). I traced the origin of this weird code back to the days before OpenMatch() took an AutocompleteMatch; back then, we constructed one so we could get at fields like |fill_into_edit| that weren't provided to OpenMatch(). Now that we pass this in, I believe the calculated match should always match the passed-in match. BUG=none TEST=none R=sky@chromium.org Review URL: https://codereview.chromium.org/47353005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232847 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment