summaryrefslogtreecommitdiff
path: root/render/box.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2016-01-20 19:24:12 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2016-01-20 20:09:40 +0000
commit0bbc03c5776fdcf6006bb0447341f82967d2b5d1 (patch)
treeff17c4f172bce697dd2ea9618cd40466eea2f5eb /render/box.c
parentc13080d96c41f42ce58b063a7883cac191d6c64b (diff)
downloadnetsurf-0bbc03c5776fdcf6006bb0447341f82967d2b5d1.tar.gz
netsurf-0bbc03c5776fdcf6006bb0447341f82967d2b5d1.tar.bz2
Cache place below level, to avoid pointless calls to find_sides.
Diffstat (limited to 'render/box.c')
-rw-r--r--render/box.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/render/box.c b/render/box.c
index 0d92b594c..7111f1a6e 100644
--- a/render/box.c
+++ b/render/box.c
@@ -156,6 +156,7 @@ struct box * box_create(css_select_results *styles, css_computed_style *style,
box->float_children = NULL;
box->float_container = NULL;
box->next_float = NULL;
+ box->cached_place_below_level = 0;
box->list_marker = NULL;
box->col = NULL;
box->gadget = NULL;