summaryrefslogtreecommitdiffstats
path: root/WebKit/mac/Misc/WebDownload.mm
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/mac/Misc/WebDownload.mm')
-rw-r--r--WebKit/mac/Misc/WebDownload.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebKit/mac/Misc/WebDownload.mm b/WebKit/mac/Misc/WebDownload.mm
index 01ed767..a4d919a 100644
--- a/WebKit/mac/Misc/WebDownload.mm
+++ b/WebKit/mac/Misc/WebDownload.mm
@@ -56,7 +56,7 @@ using namespace WebCore;
directory:(NSString *)directory;
@end
-@interface WebDownloadInternal : NSObject
+@interface WebDownloadInternal : NSObject <NSURLDownloadDelegate>
{
@public
id realDelegate;
@@ -219,7 +219,7 @@ using namespace WebCore;
[super dealloc];
}
-- (id)initWithRequest:(NSURLRequest *)request delegate:(id)delegate
+- (id)initWithRequest:(NSURLRequest *)request delegate:(id<NSURLDownloadDelegate>)delegate
{
[self _setRealDelegate:delegate];
return [super initWithRequest:request delegate:_webInternal];