DescriptionIntroduce MockHttpCache::backend() and move a few callers to it.
The MockHttpCache::OpenBackendEntry and CreateBackendEntry functions may
have been making invalid virtual calls if the disk cache backend was not a
MockDiskCache. Fixes HttpCache.RangeGET_LargeValues under -fsanitize=cfi-vptr.
BUG=457523
TEST=net_unittests
R=rdsmith@chromium.org
Committed: https://crrev.com/642379648bdca92a835fb587dd987310161d26f7
Cr-Commit-Position: refs/heads/master@{#317970}
Patch Set 1 #
Messages
Total messages: 16 (6 generated)
|