Skip to content

Commit 4bf6cbf

Browse files
magomezspenap
authored andcommitted
Disable PSON for the WPE port
1 parent e5439d0 commit 4bf6cbf

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
@@ -440,8 +440,12 @@ static void webkitWebContextConstructed(GObject* object)
440440
#if USE(CAIRO)
441441
configuration.setUseSystemAppearanceForScrollbars(priv->useSystemAppearanceForScrollbars);
442442
#endif
443+
#else
444+
#if PLATFORM(WPE)
445+
configuration.setProcessSwapsOnNavigation(false);
443446
#else
444447
configuration.setProcessSwapsOnNavigation(true);
448+
#endif
445449
#endif
446450
if (priv->memoryPressureSettings) {
447451
configuration.setMemoryPressureHandlerConfiguration(webkitMemoryPressureSettingsGetMemoryPressureHandlerConfiguration(priv->memoryPressureSettings));

0 commit comments

Comments
 (0)