[WPE] Install MemoryPressureHandler in UIProcess
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 24 Feb 2019 22:37:38 +0000 (22:37 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 24 Feb 2019 22:37:38 +0000 (22:37 +0000)
commit756b202e9f3866f6ff527787a89ca687259468d9
treed4dd6ae40e837598ee89d682a922684fcace5d9a
parent00e97579bead26e6acddbeb59e0aeda59778f8fb
[WPE] Install MemoryPressureHandler in UIProcess
https://bugs.webkit.org/show_bug.cgi?id=194617

Reviewed by Žan Doberšek.

Currently only GTK and Cocoa ports run MemoryPressureHandler in the UI process. WPE should
too.

We need @no-unify to avoid changing the unified source bundles under API/, which are
notoriously fragile. (WebMemoryPressureHandler.cpp sorts just above API/.)

* SourcesWPE.txt:
* UIProcess/WebMemoryPressureHandler.cpp:
(WebKit::installMemoryPressureHandler):
* UIProcess/glib/WebProcessPoolGLib.cpp:
(WebKit::WebProcessPool::platformInitialize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/SourcesWPE.txt
Source/WebKit/UIProcess/WebMemoryPressureHandler.cpp
Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp