It would make sense to make Widget::frameRectsChanged() and overrides non-const, as this would hopefully allow us to get rid of some of the mutables in the classes that react to the callback by changing their own state.
Created attachment 25839 [details] Initial patch
Comment on attachment 25839 [details] Initial patch seems fine, r=me
This did land in r39201.