Skip to content

Commit 090ff40

Browse files
magomezpgorszkowski-igalia
authored andcommitted
[PSON] Disable PSON for the WPE port
1 parent cdf0e8a commit 090ff40

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,12 @@ static void webkitWebContextConstructed(GObject* object)
430430
#if PLATFORM(GTK) && !USE(GTK4) && USE(CAIRO)
431431
configuration.setProcessSwapsOnNavigation(priv->psonEnabled);
432432
configuration.setUseSystemAppearanceForScrollbars(priv->useSystemAppearanceForScrollbars);
433+
#else
434+
#if PLATFORM(WPE)
435+
configuration.setProcessSwapsOnNavigation(false);
433436
#else
434437
configuration.setProcessSwapsOnNavigation(true);
438+
#endif
435439
#endif
436440
if (priv->memoryPressureSettings) {
437441
configuration.setMemoryPressureHandlerConfiguration(webkitMemoryPressureSettingsGetMemoryPressureHandlerConfiguration(priv->memoryPressureSettings));

0 commit comments

Comments
 (0)