diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-08-20 13:10:14 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-08-20 13:10:14 +0100 |
commit | 427fb928c56988fcacfae87ba45ece8fc8e5f2c5 (patch) | |
tree | dfd21d51b278480a0106afc8e6450b37ce4f887c | |
parent | d2a1c8506318208b7e7962332567d3285c54d01f (diff) | |
download | netsurf-427fb928c56988fcacfae87ba45ece8fc8e5f2c5.tar.gz netsurf-427fb928c56988fcacfae87ba45ece8fc8e5f2c5.tar.bz2 |
Remove unused member of html_content struct.
-rw-r--r-- | render/html.c | 2 | ||||
-rw-r--r-- | render/html_internal.h | 2 |
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 */ |