Changeset 224256 in webkit
- Timestamp:
- Oct 31, 2017 3:41:22 PM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r224254 r224256 1 2017-10-31 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Followup to r224238: API::Attachment should generate a _WKAttachment ObjC wrapper 4 https://bugs.webkit.org/show_bug.cgi?id=179080 5 6 Reviewed by Tim Horton. 7 8 Fixes a failing API test. The new Attachment object type added in r224238 was not actually being handled in 9 Object::newObject, so a plain WKObject Objective C wrapper was being created; fix this by allocating a new 10 _WKAttachment object for Type::Attachment. 11 12 * Shared/Cocoa/APIObject.mm: 13 (API::Object::newObject): 14 1 15 2017-10-31 Tim Horton <timothy_horton@apple.com> 2 16 -
trunk/Source/WebKit/Shared/Cocoa/APIObject.mm
r219764 r224256 69 69 #import "WKWebsiteDataStoreInternal.h" 70 70 #import "WKWindowFeaturesInternal.h" 71 #import "_WKAttachmentInternal.h" 71 72 #import "_WKAutomationSessionInternal.h" 72 73 #import "_WKDownloadInternal.h" … … 106 107 break; 107 108 109 case Type::Attachment: 110 wrapper = [_WKAttachment alloc]; 111 break; 112 108 113 case Type::AuthenticationChallenge: 109 114 wrapper = NSAllocateObject([WKNSURLAuthenticationChallenge self], size, nullptr);
Note: See TracChangeset
for help on using the changeset viewer.