diff options
Diffstat (limited to 'WebKit/mac/Misc/WebDownload.mm')
-rw-r--r-- | WebKit/mac/Misc/WebDownload.mm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/WebKit/mac/Misc/WebDownload.mm b/WebKit/mac/Misc/WebDownload.mm index 978465a..01ed767 100644 --- a/WebKit/mac/Misc/WebDownload.mm +++ b/WebKit/mac/Misc/WebDownload.mm @@ -31,6 +31,9 @@ #import <Foundation/NSURLAuthenticationChallenge.h> #import <Foundation/NSURLDownload.h> #import <WebCore/AuthenticationMac.h> +#import <WebCore/Credential.h> +#import <WebCore/CredentialStorage.h> +#import <WebCore/ProtectionSpace.h> #import <WebKit/WebPanelAuthenticationHandler.h> #import <wtf/Assertions.h> @@ -111,7 +114,7 @@ using namespace WebCore; { // Try previously stored credential first. if (![challenge previousFailureCount]) { - NSURLCredential *credential = WebCoreCredentialStorage::get([challenge protectionSpace]); + NSURLCredential *credential = mac(CredentialStorage::get(core([challenge protectionSpace]))); if (credential) { [[challenge sender] useCredential:credential forAuthenticationChallenge:challenge]; return; |