summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/html.c2
-rw-r--r--render/html_internal.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/render/html.c b/render/html.c
index 29744979a..79ca02603 100644
--- a/render/html.c
+++ b/render/html.c
@@ -294,7 +294,6 @@ html_create_html_data(html_content *c, const http_parameter *params)
c->frameset = NULL;
c->iframe = NULL;
c->page = NULL;
- c->box = NULL;
c->font_func = &nsfont;
c->scrollbar = NULL;
c->scripts_count = 0;
@@ -2563,7 +2562,6 @@ html_open(struct content *c,
html->bw = bw;
html->page = (html_content *) page;
- html->box = box;
/* text selection */
selection_init(&html->sel, html->layout);
diff --git a/render/html_internal.h b/render/html_internal.h
index ef2ea25c5..9ff0f98cf 100644
--- a/render/html_internal.h
+++ b/render/html_internal.h
@@ -95,8 +95,6 @@ typedef struct html_content {
/** Content of type CONTENT_HTML containing this, or NULL if not an
* object within a page. */
struct html_content *page;
- /** Box containing this, or NULL if not an object. */
- struct box *box;
/** Scrollbar capturing all mouse events, updated to any active HTML
* scrollbar, or NULL when no scrollbar drags active */