diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/Authentication/AuthenticationChallengeProxy.h')
-rw-r--r-- | Source/WebKit2/UIProcess/Authentication/AuthenticationChallengeProxy.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/WebKit2/UIProcess/Authentication/AuthenticationChallengeProxy.h b/Source/WebKit2/UIProcess/Authentication/AuthenticationChallengeProxy.h index a549d5188..9bac83f40 100644 --- a/Source/WebKit2/UIProcess/Authentication/AuthenticationChallengeProxy.h +++ b/Source/WebKit2/UIProcess/Authentication/AuthenticationChallengeProxy.h @@ -43,15 +43,17 @@ class WebProtectionSpace; class AuthenticationChallengeProxy : public API::ObjectImpl<API::Object::Type::AuthenticationChallenge> { public: - static PassRefPtr<AuthenticationChallengeProxy> create(const WebCore::AuthenticationChallenge& authenticationChallenge, uint64_t challengeID, IPC::Connection* connection) + static Ref<AuthenticationChallengeProxy> create(const WebCore::AuthenticationChallenge& authenticationChallenge, uint64_t challengeID, IPC::Connection* connection) { - return adoptRef(new AuthenticationChallengeProxy(authenticationChallenge, challengeID, connection)); + return adoptRef(*new AuthenticationChallengeProxy(authenticationChallenge, challengeID, connection)); } ~AuthenticationChallengeProxy(); void useCredential(WebCredential*); void cancel(); + void performDefaultHandling(); + void rejectProtectionSpaceAndContinue(); AuthenticationDecisionListener* listener() const { return m_listener.get(); } WebCredential* proposedCredential() const; |