Omnibox: Slight optimization for OmniboxEditModel::CurrentTextIsURL
Previously, we skipped the match classification process if user_input_in_progress_ was false and we were not in Query in Omnibox mode. Actually, we can always skip the classification process if user_input_in_progress_ is false. This CL implements that slight optimization. Bug: NONE Change-Id: Iabde52481e199b60874434f034733f7275af8f92 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1534282Reviewed-by:Kevin Bailey <krb@chromium.org> Commit-Queue: Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/master@{#644477}
Showing
Please register or sign in to comment