always use method_exchangeImplementations when swizzling methods on OS X

RESOLVED FIXED in mozilla27

Status

()

defect
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: jaas, Assigned: jaas)

Tracking

Trunk
mozilla27
x86
macOS
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Posted patch Fix v1.0Splinter Review
We should always use method_exchangeImplementations when swizzling methods on OS X, even on i386. It's safer and supported in 10.6+.
Attachment #814994 - Flags: review?(smichaud)
Comment on attachment 814994 [details] [diff] [review]
Fix v1.0

Looks fine to me.
Attachment #814994 - Flags: review?(smichaud) → review+
https://hg.mozilla.org/mozilla-central/rev/5dc3c476f55e
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.