It is common practice in WebKit to have methods return a reference instead of a pointer if the pointer can never be null. However, this currently does not work for DOM methods (functions called by JS bindings), which is unfortunate. We should support this in order to use more references in the code base and for consistency. It is especially useful when DOM methods to be used in WebCore, in addition to the generated bindings.
Created attachment 238329 [details] Patch
Created attachment 238336 [details] Patch
Comment on attachment 238336 [details] Patch Cool.
Comment on attachment 238336 [details] Patch Clearing flags on attachment: 238336 Committed r173765: <http://trac.webkit.org/changeset/173765>
All reviewed patches have been landed. Closing bug.
(In reply to comment #3) > (From update of attachment 238336 [details]) > Cool. Very!