diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-02-16 00:29:37 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-02-16 00:29:37 +0100 |
commit | fb5cbcc5d4b4528728140783ab9bf4d39484a739 (patch) | |
tree | 5cd489d559b29fa9c93f699f052031972f65accc /src/css.hh | |
parent | 950e73503f41ab65396271d02e0331b85f302b29 (diff) |
css: mark CssStyleSheet::apply() as const
Diffstat (limited to 'src/css.hh')
-rw-r--r-- | src/css.hh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -435,7 +435,7 @@ class CssRule { ~CssRule (); void apply (CssPropertyList *props, Doctree *docTree, - const DoctreeNode *node, MatchCache *matchCache); + const DoctreeNode *node, MatchCache *matchCache) const; inline bool isSafe () { return !selector->checksPseudoClass () || props->isSafe (); }; @@ -490,7 +490,7 @@ class CssStyleSheet { CssStyleSheet () { matchCacheOffset = 0; } void addRule (CssRule *rule); void apply (CssPropertyList *props, Doctree *docTree, - const DoctreeNode *node, MatchCache *matchCache); + const DoctreeNode *node, MatchCache *matchCache) const; }; /** |