No need to use weak reference
Ref-counting manages everything.
This commit is contained in:
parent
24f573eceb
commit
217311ef21
3 changed files with 5 additions and 13 deletions
|
@ -241,10 +241,7 @@ void SetProxyInIO(net::URLRequestContextGetter* getter,
|
|||
void PassVerificationResult(
|
||||
scoped_refptr<AtomCertVerifier::CertVerifyRequest> request,
|
||||
bool success) {
|
||||
int result = net::OK;
|
||||
if (!success)
|
||||
result = net::ERR_FAILED;
|
||||
request->ContinueWithResult(result);
|
||||
request->ContinueWithResult(success ? net::OK : net::ERR_FAILED);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue