On 03/31/2015 02:59 PM, Xidorn Quan wrote:
> I've landed bug 1143513
> <https://bugzilla.mozilla.org/show_bug.cgi?id=1143513> which enables using
> range-based for loop on nsFrameList. Now, when you want to iterate
> nsFrameList, you no longer need nsFrameList::Enumerator. Just write:
> 
> for (nsIFrame* frame : mFrames) { }

This is awesome! Goodbye to extra e.get() boilerplate.

~Daniel
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to