Antti suggested having Document::settings() return a const Settings&, and also having a Settings& mutableSettings() if needed. I think this would be a nice pattern, so let's implement it.
Created attachment 301061 [details] Patch
Comment on attachment 301061 [details] Patch r=me
Comment on attachment 301061 [details] Patch Clearing flags on attachment: 301061 Committed r211979: <http://trac.webkit.org/changeset/211979>
All reviewed patches have been landed. Closing bug.