Document is big and unwieldy. The code related to tracking active stylesheets can be factored out.
Created attachment 165278 [details] patch
Comment on attachment 165278 [details] patch Attachment 165278 [details] did not pass qt-ews (qt): Output: http://queues.webkit.org/results/13988234
Comment on attachment 165278 [details] patch Attachment 165278 [details] did not pass efl-ews (efl): Output: http://queues.webkit.org/results/13985280
Comment on attachment 165278 [details] patch Attachment 165278 [details] did not pass qt-wk2-ews (qt): Output: http://queues.webkit.org/results/13993198
Comment on attachment 165278 [details] patch Attachment 165278 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/13990197
Comment on attachment 165278 [details] patch Attachment 165278 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13986250
Comment on attachment 165278 [details] patch Attachment 165278 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/13993200
Comment on attachment 165278 [details] patch Attachment 165278 [details] did not pass cr-android-ews (chromium-android): Output: http://queues.webkit.org/results/13993202
Comment on attachment 165278 [details] patch Attachment 165278 [details] did not pass efl-ews (efl): Output: http://queues.webkit.org/results/13981669
Comment on attachment 165278 [details] patch Attachment 165278 [details] did not pass qt-ews (qt): Output: http://queues.webkit.org/results/13986268
Comment on attachment 165278 [details] patch This is a fantastic cleanup. Obviously needs some build system love. Mac EWS failure: Undefined symbols for architecture x86_64: "__ZN7WebCore8Document18clearStyleResolverEv", referenced from: __ZN7WebCore28DocumentStyleSheetCollection23updateActiveStyleSheetsENS0_10UpdateFlagE in DocumentStyleSheetCollection.o Need to remove inline keyword from Document::clearStyleResolver() implementation I suppose.
Huge fan!
Kisses!
Comment on attachment 165278 [details] patch r- for making the bots mad. I'm excited to see v2!
Created attachment 165418 [details] try to make it build - build files for non-mac platforms - svn cp'd Document.cpp so we preserve the history for the moved functions
Created attachment 165423 [details] update to tot
Created attachment 165426 [details] another try
Created attachment 165442 [details] another rebase
http://trac.webkit.org/changeset/129423