Try to make as much const in DocumentLoader as possible.
Move a lot of stuff from constructor to initializers and mark fields as const where possible. Also - add comment referencing https://crbug.com/855189 - delete GetClientHintsPreferences which is unused. There's more that can be done but this is all of the stuff that was easy. Change-Id: I97bc5b9cc67fada0bb57426271fd38c376adcac9 Bug: 855189 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2203040 Commit-Queue: Fergal Daly <fergal@chromium.org> Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#771466}
Showing
This diff is collapsed.
Please register or sign in to comment