Improve use of NeverDestroyed
[WebKit-https.git] / Source / WebKit / UIProcess / Cocoa / WebProcessPoolCocoa.mm
index 8d3fac8..d5d60bd 100644 (file)
@@ -145,7 +145,7 @@ void WebProcessPool::platformInitialize()
 
 #if PLATFORM(IOS)
     IPC::setAllowsDecodingSecKeyRef(true);
-    WebKit::WebMemoryPressureHandler::singleton();
+    installMemoryPressureHandler();
 #endif
 
     setLegacyCustomProtocolManagerClient(std::make_unique<LegacyCustomProtocolManagerClient>());