| Summary: | Remove all the remaining uses of OwnPtr and PassOwnPtr in JavaScriptCore | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Darin Adler <darin> | ||||
| Component: | JavaScriptCore | Assignee: | Darin Adler <darin> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | gyuyoung.kim | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 128007 | ||||||
| Attachments: |
|
||||||
|
Description
Darin Adler
2015-04-19 22:08:47 PDT
Created attachment 251141 [details]
Patch
I looked and found we were almost done! *** Bug 139018 has been marked as a duplicate of this bug. *** Comment on attachment 251141 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=251141&action=review LGTM. > Source/JavaScriptCore/API/ObjCCallbackFunction.mm:406 > + m_instanceClass = nil; nullptr ? (In reply to comment #4) > > Source/JavaScriptCore/API/ObjCCallbackFunction.mm:406 > > + m_instanceClass = nil; > > nullptr ? No, I think nil is right for this. Class is a pointer to an Objective-C object, although its type name does not look like the others, such as NSObject *. Committed r183005: <http://trac.webkit.org/changeset/183005> |