From f815ca9e7f27a8fc4a8230413ecac8ad2b2e0621 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Fri, 20 Sep 2013 09:40:14 +0200 Subject: Added BrowserWindow and DilloURL (base URL) to StyleEngine::apply and related. --- src/plain.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/plain.cc') 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 */ -- cgit v1.2.3