Commit 72b6649f authored by arthursonzogni's avatar arthursonzogni Committed by Commit Bot

bfcache: cleanup const in tests.

In the back_forward_cache_browsertest file, a lot test used "const" for
declaring GURL or Origin variables. This is unusual for a variable
scoped to a test function. "const" should be used for preventing
mutation, this is mainly used in class attribute or method return value.
In test, this is not really needed.

Adding "const" here is not harmful at all, but since things tend to be
copy pasted, it is better the cut the trend now, so that it won't spread
more.

Bug: None.
Change-Id: Ia100e61781cdadaa9b420fab75244d44acedf33b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1892957Reviewed-by: default avatarAlexander Timin <altimin@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#712078}
parent 2b3975c5
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