diff options
author | Quentin Rameau <quinq@fifth.space> | 2015-11-18 16:08:55 +0100 |
---|---|---|
committer | Quentin Rameau <quinq@fifth.space> | 2015-11-20 00:23:59 +0100 |
commit | f86977a6fab8ed51bd1208b843b9f53db0cdd058 (patch) | |
tree | b3bbc322846427ecd92a37ad42bc958ec28126de /surf.c | |
parent | b0f35be17b4838e1b4e956fcf61f6357f4921462 (diff) | |
download | surf-f86977a6fab8ed51bd1208b843b9f53db0cdd058.tar.gz surf-f86977a6fab8ed51bd1208b843b9f53db0cdd058.tar.bz2 surf-f86977a6fab8ed51bd1208b843b9f53db0cdd058.zip |
Separate the rendering engine process
Use one WebKitWebProcess per view instead of one for all views.
More information in the API documentation.
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 : |