Delay WebProcess launch until a load is triggered in a Web view
[WebKit-https.git] / Source / WebKit / UIProcess / API / Cocoa / WKProcessPool.mm
index 48d6152..bb163b3 100644 (file)
@@ -522,6 +522,11 @@ static NSDictionary *policiesHashMapToDictionary(const HashMap<String, HashMap<S
     return _processPool->webProcessCache().capacity();
 }
 
+- (NSUInteger)_processCacheSize
+{
+    return _processPool->webProcessCache().size();
+}
+
 - (size_t)_serviceWorkerProcessCount
 {
 #if ENABLE(SERVICE_WORKER)