summaryrefslogtreecommitdiff
path: root/content/handlers/html/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/handlers/html/html.c')
-rw-r--r--content/handlers/html/html.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/content/handlers/html/html.c b/content/handlers/html/html.c
index a7fea6dfe..6fe45adca 100644
--- a/content/handlers/html/html.c
+++ b/content/handlers/html/html.c
@@ -1275,10 +1275,6 @@ bool html_can_begin_conversion(html_content *htmlc)
{
unsigned int i;
- /* Cannot begin conversion if we already have */
- if (htmlc->conversion_begun)
- return false;
-
/* Cannot begin conversion if we're still fetching stuff */
if (htmlc->base.active != 0)
return false;
@@ -1303,10 +1299,6 @@ html_begin_conversion(html_content *htmlc)
dom_string *node_name = NULL;
dom_hubbub_error error;
- if (htmlc->conversion_begun)
- /* Conversion already began, so we are okay */
- return true;
-
/* The act of completing the parse can result in additional data
* being flushed through the parser. This may result in new style or
* script nodes, upon which the conversion depends. Thus, once we