Make FrameLoader methods that take PassRefPtr<Event> take raw pointers instead Ownership of the event is rarely actually being transferred, and the code paths are definitely not hot, so we're not actually worried about ref churn. But this will make the related code cleaner and less likely to run across bizarre correctness issues like that found in https://bugs.webkit.org/show_bug.cgi?id=145472 and fixed in http://trac.webkit.org/changeset/185033
Created attachment 253970 [details] Patch v1
Comment on attachment 253970 [details] Patch v1 Clearing flags on attachment: 253970 Committed r185037: <http://trac.webkit.org/changeset/185037>
All reviewed patches have been landed. Closing bug.
Comment on attachment 253970 [details] Patch v1 These should be references unless the event can be null.
(In reply to comment #4) > Comment on attachment 253970 [details] > Patch v1 > > These should be references unless the event can be null. The event can be null.