Separate the rendering engine process
Use one WebKitWebProcess per view instead of one for all views. More information in the API documentation.
This commit is contained in:
@@ -1207,6 +1207,11 @@ setup(void)
|
|||||||
webkit_web_context_get_cookie_manager(context),
|
webkit_web_context_get_cookie_manager(context),
|
||||||
cookiepolicy_get());
|
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 */
|
/* disk cache */
|
||||||
webkit_web_context_set_cache_model(context, enablecache ?
|
webkit_web_context_set_cache_model(context, enablecache ?
|
||||||
WEBKIT_CACHE_MODEL_WEB_BROWSER :
|
WEBKIT_CACHE_MODEL_WEB_BROWSER :
|
||||||
|
|||||||
Reference in New Issue
Block a user