Commit d4dce5b8 authored by mrowe@apple.com's avatar mrowe@apple.com
Browse files

Build fix.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2af1d5f9
2008-10-23 Mark Rowe <mrowe@apple.com>
Build fix.
* Misc/WebKitErrors.m:
(-[NSError _initWithPluginErrorCode:contentURL:pluginPageURL:pluginName:MIMEType:]):
2008-10-20 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
......
......@@ -108,7 +108,11 @@ - (id)_initWithPluginErrorCode:(int)code
NSMutableDictionary *userInfo = [[NSMutableDictionary alloc] init];
if (contentURL) {
[userInfo setObject:contentURL forKey:@"NSErrorFailingURLKey"];
#if defined(BUILDING_ON_TIGER) || defined(BUILDING_ON_LEOPARD)
[userInfo setObject:[contentURL _web_userVisibleString] forKey:NSErrorFailingURLStringKey];
#else
[userInfo setObject:[contentURL _web_userVisibleString] forKey:NSURLErrorFailingURLStringErrorKey];
#endif
}
if (pluginPageURL) {
[userInfo setObject:[pluginPageURL _web_userVisibleString] forKey:WebKitErrorPlugInPageURLStringKey];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment