[Webkit-unassigned] [Bug 99933] Factor stylesheet invalidation analysis code into a class

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 21 14:12:20 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=99933





--- Comment #3 from Sam Weinig <sam at webkit.org>  2012-10-21 14:13:19 PST ---
(From update of attachment 169798)
View in context: https://bugs.webkit.org/attachment.cgi?id=169798&action=review

> Source/WebCore/dom/DocumentStyleSheetCollection.cpp:406
> +    OwnPtr<StyleInvalidationAnalysis> invalidationAnalysis = StyleInvalidationAnalysis::create(addedSheets);
> +    if (invalidationAnalysis->dirtiesAllStyle())
> +        return;
> +    invalidationAnalysis->invalidateStyle(m_document);

Could we create the StyleInvalidationAnalysis on the stack?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list