X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=Source%2FWebCore%2Fdom%2FDocumentStyleSheetCollection.h;h=3fb45f9ed8112bcb10f2e34c71b176b2fde421ab;hp=a8104dfd9a4de6af1ebbfdc28ad23a280719d1aa;hb=e85eae78d9cc3f18fcae6060fce29fad4d2368e7;hpb=0f4300c8d984b5f8196c4ff91f9786356f14c53d diff --git a/Source/WebCore/dom/DocumentStyleSheetCollection.h b/Source/WebCore/dom/DocumentStyleSheetCollection.h index a8104df..3fb45f9 100644 --- a/Source/WebCore/dom/DocumentStyleSheetCollection.h +++ b/Source/WebCore/dom/DocumentStyleSheetCollection.h @@ -102,7 +102,12 @@ public: private: void collectActiveStyleSheets(Vector >&); bool testAddedStyleSheetRequiresStyleRecalc(StyleSheetContents*); - void analyzeStyleSheetChange(UpdateFlag, const Vector >& newStylesheets, bool& requiresStyleResolverReset, bool& requiresFullStyleRecalc); + enum StyleResolverUpdateType { + Reconstruct, + Reset, + Additive + }; + void analyzeStyleSheetChange(UpdateFlag, const Vector >& newStylesheets, StyleResolverUpdateType&, bool& requiresFullStyleRecalc); Document* m_document;