Fix race crash on UrlBar Autofill
If an Autofill session is triggered on the UrlBar before setTextForAutofillServices has been called for the first time, the member mTextForAutofillServices, which is null, is passed to the constructor of SpannableStringBuilder. This results in a crash. This is fixed by always intializing mTextForAutofillServices. R=tedchoc@chromium.org Bug: 1109186 Change-Id: I2d2e2b73521a6261c23c1cc3dd36ba83dc19f110 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2317209Reviewed-by:Ted Choc <tedchoc@chromium.org> Commit-Queue: Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#791876}
Showing
Please register or sign in to comment