Changeset 187288 in webkit
- Timestamp:
- Jul 23, 2015, 9:53:26 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r187286 r187288 1 2015-07-23 Dan Bernstein <mitz@apple.com> 2 3 <rdar://problem/21929532> REGRESSION (r184026): Safari AutoFill with Contact info for phone number is broken 4 https://bugs.webkit.org/show_bug.cgi?id=147249 5 6 Reviewed by Sam Weinig. 7 8 * Shared/API/Cocoa/WKRemoteObjectCoder.mm: 9 (encodeObject): Use encodeString only for strings that encode as NSString or 10 NSMutableString. It can’t encode arbitrary NSString subclasses. 11 (decodeObject): Use decodeString for NSMutableString as well. 12 1 13 2015-07-23 Zalan Bujtas <zalan@apple.com> 2 14 -
trunk/Source/WebKit2/Shared/API/Cocoa/WKRemoteObjectCoder.mm
r184026 r187288 242 242 } 243 243 244 if ( [object isKindOfClass:[NSString class]]) {244 if (objectClass == [NSString class] || objectClass == [NSMutableString class]) { 245 245 encodeString(encoder, object); 246 246 return; … … 587 587 return decodeString(decoder); 588 588 589 if (objectClass == [NSMutableString class]) 590 return [NSMutableString stringWithString:decodeString(decoder)]; 591 589 592 id result = [objectClass allocWithZone:decoder.zone]; 590 593 if (!result)
Note:
See TracChangeset
for help on using the changeset viewer.