X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=surf.c;h=70d4eb822a7500460263a85b13a138a4e0a3188e;hp=22bd6c9dbbd41f957edea6cafc0db7fb88578d51;hb=f86977a6fab8ed51bd1208b843b9f53db0cdd058;hpb=b0f35be17b4838e1b4e956fcf61f6357f4921462 diff --git a/surf.c b/surf.c index 22bd6c9..70d4eb8 100644 --- a/surf.c +++ b/surf.c @@ -1207,6 +1207,11 @@ setup(void) webkit_web_context_get_cookie_manager(context), cookiepolicy_get()); + /* rendering process model, can be a shared unique one or one for each + * view */ + webkit_web_context_set_process_model(context, + WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES); + /* disk cache */ webkit_web_context_set_cache_model(context, enablecache ? WEBKIT_CACHE_MODEL_WEB_BROWSER :