Avoid unnecessary copy of parameters.

This commit is contained in:
Haojian Wu 2017-03-29 21:29:52 +02:00
parent 99293dd57f
commit 5f724e57bc
8 changed files with 8 additions and 8 deletions

View file

@ -233,7 +233,7 @@ class ResolveProxyHelper {
public:
ResolveProxyHelper(AtomBrowserContext* browser_context,
const GURL& url,
Session::ResolveProxyCallback callback)
const Session::ResolveProxyCallback& callback)
: callback_(callback),
original_thread_(base::ThreadTaskRunnerHandle::Get()) {
scoped_refptr<net::URLRequestContextGetter> context_getter =