Omnibox - Refactor |relevance_buckets| to Remove Memory Leak on Exit
A static class variable was new-ed with no opportunity for a delete call. Instead, convert this to using CR_DEFINE_STATIC_LOCAL so it's properly deleted on exit. Removes ExperimentalScoringEnabled() field trial function and changed the default value for the topicality threshold when the field trial setting is erroneous or partially-specified. I checked that removing this logic change does not affect any currently- or recently-running experiments. Other than changing the semantics of the field trial configs, there should be no functional changes. In the process, remove most references to HQP in variable names and comments. These references are unnecessary. All scoring in these files are for the HQP. BUG= Review-Url: https://codereview.chromium.org/2548363010 Cr-Commit-Position: refs/heads/master@{#438006}
Showing
Please register or sign in to comment