Use is<>() / downcast<>() for StyleSheet subclasses
Created attachment 239291 [details] Patch
Comment on attachment 239291 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239291&action=review > Source/WebCore/dom/DocumentStyleSheetCollection.cpp:411 > for (unsigned i = 0; i < sheets.size(); ++i) { Let's update the loop too. > Source/WebCore/dom/DocumentStyleSheetCollection.cpp:413 > + if (!is<CSSStyleSheet>(*sheets[i])) > continue; I would move this after sheets[i]->disabled() to reduce the span between is<> and downcast<>, making it easier to follow the flow.
Created attachment 239302 [details] Patch
Comment on attachment 239302 [details] Patch Clearing flags on attachment: 239302 Committed r174332: <http://trac.webkit.org/changeset/174332>
All reviewed patches have been landed. Closing bug.