From 17b28e85c12309d60e3c45acb096b9989a7834ff Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 21 Mar 2020 18:30:41 +0000 Subject: JS: Split concept of JS context into heap and thread In preparation for proper splitting of Javascript support into heaps and threads, this renames the types and corrects the no-js builds to still work. At this time no substantive change in semantics exists, and the duktape build won't work. Signed-off-by: Daniel Silverstone --- content/content.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'content/content.h') diff --git a/content/content.h b/content/content.h index f8f8d32f1..c2605a7f1 100644 --- a/content/content.h +++ b/content/content.h @@ -72,7 +72,7 @@ typedef enum { CONTENT_MSG_REFRESH, /**< wants refresh */ CONTENT_MSG_DOWNLOAD, /**< download, not for display */ CONTENT_MSG_LINK, /**< RFC5988 link */ - CONTENT_MSG_GETCTX, /**< Javascript context */ + CONTENT_MSG_GETTHREAD, /**< Javascript thread */ CONTENT_MSG_GETDIMS, /**< Get viewport dimensions. */ CONTENT_MSG_SCROLL, /**< Request to scroll content */ CONTENT_MSG_DRAGSAVE, /**< Allow drag saving of content */ @@ -180,9 +180,9 @@ union content_msg_data { struct content_rfc5988_link *rfc5988_link; /** - * CONTENT_MSG_GETCTX - Javascript context + * CONTENT_MSG_GETTHREAD - Javascript context (thread) */ - struct jscontext **jscontext; + struct jsthread **jsthread; /** * CONTENT_MSG_GETDIMS - Get the viewport dimensions -- cgit v1.2.3