aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2011-12-30 15:24:06 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2011-12-30 15:24:06 +0100
commita8bca1607de9d2a0e6c6172d5ad9979149b88c05 (patch)
tree6eba3b7b1826e7c033fa2aaccd0311732a59af17 /src/css.hh
parent1e8a589bcd72bfd5045302698409d23070060507 (diff)
use array of CssStyleSheets instead of pointers in CssContext
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/css.hh b/src/css.hh
index 20935dfd..794caaab 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -458,7 +458,7 @@ class CssStyleSheet {
*/
class CssContext {
private:
- CssStyleSheet *sheet[CSS_PRIMARY_USER_IMPORTANT + 1];
+ CssStyleSheet sheet[CSS_PRIMARY_USER_IMPORTANT + 1];
int pos;
void buildUserAgentStyle ();
@@ -466,7 +466,6 @@ class CssContext {
public:
CssContext ();
- ~CssContext ();
void addRule (CssSelector *sel, CssPropertyList *props,
CssPrimaryOrder order);