Commit b47f59bf authored by Sofiya Semenova's avatar Sofiya Semenova Committed by Commit Bot

Change NavigationPredictor's reported median link location to be in the range [0, 100], not [0, 1].

Bug: 990512
Change-Id: Iac340a45ca4bccc4c08d1176bd263284b53faef0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1733751Reviewed-by: default avatarRyan Sturm <ryansturm@chromium.org>
Commit-Queue: Sofiya Semenova <sofiyase@google.com>
Cr-Commit-Position: refs/heads/master@{#684076}
parent 811cd193
......@@ -802,7 +802,7 @@ void NavigationPredictor::ReportAnchorElementMetricsOnLoad(
}
sort(link_locations.begin(), link_locations.end());
median_link_location_ = link_locations[link_locations.size() / 2];
median_link_location_ = link_locations[link_locations.size() / 2] * 100;
double page_metrics_score = GetPageMetricsScore();
// Retrieve site engagement score of the document. |metrics| is guaranteed to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment