summaryrefslogtreecommitdiff
path: root/src/plain.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-09-20 09:40:14 +0200
committerSebastian Geerken <devnull@localhost>2013-09-20 09:40:14 +0200
commitf815ca9e7f27a8fc4a8230413ecac8ad2b2e0621 (patch)
tree5810585bb4c5ddc256b7c42718581ea394a9036a /src/plain.cc
parentfae1427770c3484970798e2e3f9f074f4af6599c (diff)
Added BrowserWindow and DilloURL (base URL) to StyleEngine::apply and related.
Diffstat (limited to 'src/plain.cc')
-rw-r--r--src/plain.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plain.cc b/src/plain.cc
index d63ce6cf..d09f6d79 100644
--- a/src/plain.cc
+++ b/src/plain.cc
@@ -97,9 +97,10 @@ DilloPlain::DilloPlain(BrowserWindow *p_bw)
Layout *layout = (Layout*) bw->render_layout;
StyleEngine styleEngine (layout);
- styleEngine.startElement ("body");
- styleEngine.startElement ("pre");
- widgetStyle = styleEngine.wordStyle ();
+ // TODO (3x) No URL?
+ styleEngine.startElement ("body", bw, NULL);
+ styleEngine.startElement ("pre", bw, NULL);
+ widgetStyle = styleEngine.wordStyle (bw, NULL);
widgetStyle->ref ();
/* The context menu */