Changeset 162873 in webkit


Ignore:
Timestamp:
Jan 27, 2014 3:22:39 PM (10 years ago)
Author:
andersca@apple.com
Message:

Implement the _injectedBundleURL property
https://bugs.webkit.org/show_bug.cgi?id=127714

Reviewed by Tim Horton.

Properties declared in class categories need to be implemented. Do this
for the _injectedBundleURL property.

  • UIProcess/API/Cocoa/WKProcessClassConfiguration.mm:

(-[WKProcessClassConfiguration _injectedBundleURL]):
(-[WKProcessClassConfiguration _setInjectedBundleURL:]):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r162869 r162873  
     12014-01-27  Anders Carlsson  <andersca@apple.com>
     2
     3        Implement the _injectedBundleURL property
     4        https://bugs.webkit.org/show_bug.cgi?id=127714
     5
     6        Reviewed by Tim Horton.
     7
     8        Properties declared in class categories need to be implemented. Do this
     9        for the _injectedBundleURL property.
     10
     11        * UIProcess/API/Cocoa/WKProcessClassConfiguration.mm:
     12        (-[WKProcessClassConfiguration _injectedBundleURL]):
     13        (-[WKProcessClassConfiguration _setInjectedBundleURL:]):
     14
    1152014-01-27  Brady Eidson  <beidson@apple.com>
    216
  • trunk/Source/WebKit2/UIProcess/API/Cocoa/WKProcessClassConfiguration.mm

    r162541 r162873  
    2929#if WK_API_ENABLED
    3030
    31 @implementation WKProcessClassConfiguration
     31#import <wtf/RetainPtr.h>
     32
     33@implementation WKProcessClassConfiguration {
     34    RetainPtr<NSURL> _injectedBundleURL;
     35}
     36
     37- (NSURL *)_injectedBundleURL
     38{
     39    return _injectedBundleURL.get();
     40}
     41
     42- (void)_setInjectedBundleURL:(NSURL *)injectedBundleURL
     43{
     44    _injectedBundleURL = adoptNS([injectedBundleURL copy]);
     45}
    3246
    3347- (id)copyWithZone:(NSZone *)zone
Note: See TracChangeset for help on using the changeset viewer.