This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Followup to r224238: API::Attachment should generate a _WKAttachment …
…ObjC wrapper https://bugs.webkit.org/show_bug.cgi?id=179080 Reviewed by Tim Horton. Fixes a failing API test. The new Attachment object type added in r224238 was not actually being handled in Object::newObject, so a plain WKObject Objective C wrapper was being created; fix this by allocating a new _WKAttachment object for Type::Attachment. * Shared/Cocoa/APIObject.mm: (API::Object::newObject): Canonical link: https://commits.webkit.org/195209@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 2 changed files with 19 additions and 0 deletions.