aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-12 21:34:50 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-12 21:34:50 +0100
commit8897847aa556384d0a0d7bbaccd9241e0f4470d1 (patch)
treee4e92060b00b36b2fe187188ee4bec1f71776258 /src/css.hh
parentc4641079e8dada86a5f4846ef8027f88c11c7294 (diff)
remove CssRule reference counting
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/css.hh b/src/css.hh
index f3d87702..e4e7f3de 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -255,7 +255,6 @@ class CssSelector {
*/
class CssRule {
private:
- int refCount;
CssPropertyList *props;
public:
@@ -265,8 +264,6 @@ class CssRule {
~CssRule ();
void apply (CssPropertyList *props, Doctree *docTree);
- inline void ref () { refCount++; }
- inline void unref () { if(--refCount == 0) delete this; }
void print ();
};