[NTP::SectionOrder] Ensure decreasing clicks when category dismissed.
Ensure that dismissing a category cannot increase its clicks and use the previous category clicks, not the next one. Due to PassingMargin, it is possible that lower categories have more clicks. Before this CL, this could lead to dismissed category clicks increase, which was not intended. Now we take mininum of new and old clicks. In addition to this before this CL, click count was reduced based on the next category in the list, after this CL, on the previous one. BUG=678586 Review-Url: https://codereview.chromium.org/2616813003 Cr-Commit-Position: refs/heads/master@{#443237}
Showing
Please register or sign in to comment