From 427fb928c56988fcacfae87ba45ece8fc8e5f2c5 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 20 Aug 2012 13:10:14 +0100 Subject: Remove unused member of html_content struct. --- render/html.c | 2 -- render/html_internal.h | 2 -- 2 files changed, 4 deletions(-) (limited to 'render') 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 */ -- cgit v1.2.3