DescriptionFix dangling reference in NormalSpdyTransactionHelper.
NormalSpdyTransactionHelper constructor is often (approximately 70 times) called
with a temporary BoundNetLog() argument. Its log_ member currently takes
reference of that, which becomes dangling right after the constructor returns.
This is not an issue if there are no NetLog events, nor in the NetLog test which
creates a named CapturingBoundNetLog object that it keeps in scope. The
dangling reference only became problematic in the HTTP11RequiredProxyRetry test,
and curiously enough, only for 64 bit Andoid builds.
This CL changes the NormalSpdyTransactionHelper.log_ member type from reference
to value to fix this issue.
BUG=447837
Committed: https://crrev.com/29b1f07f9291ca0358117efb691cae9ae6ded989
Cr-Commit-Position: refs/heads/master@{#311538}
Patch Set 1 #
Messages
Total messages: 9 (2 generated)
|