diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2016-01-20 19:24:12 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2016-01-20 20:09:40 +0000 |
commit | 0bbc03c5776fdcf6006bb0447341f82967d2b5d1 (patch) | |
tree | ff17c4f172bce697dd2ea9618cd40466eea2f5eb /render/box.c | |
parent | c13080d96c41f42ce58b063a7883cac191d6c64b (diff) | |
download | netsurf-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.c | 1 |
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; |