Rename experimental feature for process swap on navigation
[WebKit-https.git] / Source / WebKit / UIProcess / WebProcessPool.cpp
index 411fe61..2d2a98b 100644 (file)
@@ -1155,7 +1155,7 @@ Ref<WebPageProxy> WebProcessPool::createWebPage(PageClient& pageClient, Ref<API:
 #endif
 
     auto page = process->createWebPage(pageClient, WTFMove(pageConfiguration));
-    if (page->preferences().processSwapOnNavigationEnabled()) {
+    if (page->preferences().processSwapOnCrossSiteNavigationEnabled()) {
         m_configuration->setProcessSwapsOnNavigation(true);
         // FIXME: For now, turning on PSON from the experimental features menu also turns on
         // automatic process warming until clients can be updated.