summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-10-05 12:38:25 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-10-05 12:38:25 +0100
commit49d2ce585cda0c8e6c2e1081a67a79fe1948fdcc (patch)
tree14fdfeba16dccb0d51d031dd9d0d97f84c1b7592
parentc82a5ad699ff26af409071d47624ff4ab116775e (diff)
downloadnetsurf-49d2ce585cda0c8e6c2e1081a67a79fe1948fdcc.tar.gz
netsurf-49d2ce585cda0c8e6c2e1081a67a79fe1948fdcc.tar.bz2
More talloc ctx fixup.
-rw-r--r--render/box_construct.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/render/box_construct.c b/render/box_construct.c
index 13bf409f0..44a5351ae 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -1720,7 +1720,7 @@ bool box_image(BOX_SPECIAL_PARAMS)
}
/* imagemap associated with this image */
- if (!box_get_attribute(n, "usemap", content, &box->usemap))
+ if (!box_get_attribute(n, "usemap", content->bctx, &box->usemap))
return false;
if (box->usemap && box->usemap[0] == '#')
box->usemap++;
@@ -1808,7 +1808,8 @@ bool box_object(BOX_SPECIAL_PARAMS)
box_is_root(n)) == CSS_DISPLAY_NONE)
return true;
- if (box_get_attribute(n, "usemap", content, &box->usemap) == false)
+ if (box_get_attribute(n, "usemap", content->bctx, &box->usemap) ==
+ false)
return false;
if (box->usemap && box->usemap[0] == '#')
box->usemap++;