aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2014-04-02 21:47:26 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2014-04-02 21:47:26 +0200
commit488e5f9ca3b937c7aa5993a80d0e5610ef88ac42 (patch)
tree5537ed03ebb683e5968093538f7097b0bf94a79b /src/styleengine.hh
parentbd44716237e2f4d8e34a814ada508dd7a11af70d (diff)
fix crash and use proper requester URL for CSS images
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r--src/styleengine.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/styleengine.hh b/src/styleengine.hh
index 59c17a1a..41f892d7 100644
--- a/src/styleengine.hh
+++ b/src/styleengine.hh
@@ -35,7 +35,7 @@ class StyleEngine {
CssContext *cssContext;
Doctree *doctree;
int importDepth;
- const DilloUrl *baseUrl;
+ DilloUrl *pageUrl, *baseUrl;
void stackPush ();
void stackPop ();
@@ -66,7 +66,8 @@ class StyleEngine {
public:
static void init ();
- StyleEngine (dw::core::Layout *layout, const DilloUrl *baseUrl);
+ StyleEngine (dw::core::Layout *layout,
+ const DilloUrl *pageUrl, const DilloUrl *baseUrl);
~StyleEngine ();
void parse (DilloHtml *html, DilloUrl *url, const char *buf, int buflen,