summaryrefslogtreecommitdiffstats
path: root/src/core/login_delegate_qt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/login_delegate_qt.cpp')
-rw-r--r--src/core/login_delegate_qt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/login_delegate_qt.cpp b/src/core/login_delegate_qt.cpp
index 34245971f..6dd2aa5ed 100644
--- a/src/core/login_delegate_qt.cpp
+++ b/src/core/login_delegate_qt.cpp
@@ -61,10 +61,10 @@ LoginDelegateQt::LoginDelegateQt(
content::ResourceRequestInfo::WebContentsGetter web_contents_getter,
GURL url,
bool first_auth_attempt,
- const base::Callback<void(const base::Optional<net::AuthCredentials>&)> &auth_required_callback)
+ LoginAuthRequiredCallback auth_required_callback)
: m_authInfo(authInfo)
, m_url(url)
- , m_auth_required_callback(auth_required_callback)
+ , m_auth_required_callback(std::move(auth_required_callback))
{
Q_ASSERT(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));