Remove SearchBoxModel::selection_model
It doesn't seem to be useful any longer. It's only set by SearchBoxView when the search box text input changes, and it's only read by SearchBoxView to update the search box text input when the model value is changed (which seems a bit redundant). Additionally, SearchBoxView stops observing the model while it's updating the selection, which means that SearchBoxView::SelectionModelChanged (the only code that actually accesses the search model's selection model) doesn't ever get called. Change-Id: I7e9489ea703942f7759162e5e3527f438c143e8c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1925287Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Toni Baržić <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#716921}
Showing
Please register or sign in to comment