Bug 40894

Summary: Move the NSBundle ivar to WebPluginPackage
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch mitz: review+

Description Anders Carlsson 2010-06-20 14:50:37 PDT
Move the NSBundle ivar to WebPluginPackage
Comment 1 Anders Carlsson 2010-06-20 14:52:31 PDT
Created attachment 59217 [details]
Patch
Comment 2 mitz 2010-06-20 15:02:28 PDT
Comment on attachment 59217 [details]
Patch

> +    cfBundle = CFBundleCreate(NULL, (CFURLRef)[NSURL fileURLWithPath:path]);

Please change NULL to kCFAllocatorDefault.

> +    if (nsBundle == nil) {

Please change this to !nsBundle.
Comment 3 Anders Carlsson 2010-06-20 18:30:28 PDT
Committed r61519: <http://trac.webkit.org/changeset/61519>