Reduce duplication between Document and ShadowRoot.
Created attachment 290978 [details] patch
Comment on attachment 290978 [details] patch Clearing flags on attachment: 290978 Committed r206951: <http://trac.webkit.org/changeset/206951>
All reviewed patches have been landed. Closing bug.