Changeset 204432 in webkit
- Timestamp:
- Aug 12, 2016 4:34:27 PM (8 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r204429 r204432 1 2016-08-12 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Instances of WKObject subclasses don’t work correctly with CFGetTypeID() 4 https://bugs.webkit.org/show_bug.cgi?id=160820 5 <rdar://problem/27825875> 6 7 Reviewed by Anders Carlsson. 8 9 * Shared/Cocoa/WKObject.mm: 10 (-[WKObject _cfTypeID]): Override this internal method and forward to the target object. 11 1 12 2016-08-12 Johan K. Jensen <johan_jensen@apple.com> 2 13 -
trunk/Source/WebKit2/Shared/Cocoa/WKObject.mm
r169432 r204432 30 30 31 31 #import "APIObject.h" 32 33 @interface NSObject () 34 - (CFTypeID)_cfTypeID; 35 @end 32 36 33 37 @implementation WKObject { … … 129 133 } 130 134 135 - (CFTypeID)_cfTypeID 136 { 137 return _target ? [_target _cfTypeID] : [super _cfTypeID]; 138 } 139 131 140 - (NSObject *)_web_createTarget 132 141 {
Note: See TracChangeset
for help on using the changeset viewer.