Index: include/AdblockPlus/JsEngine.h |
diff --git a/include/AdblockPlus/JsEngine.h b/include/AdblockPlus/JsEngine.h |
index ead2088943a4c68e305faa29f123edf7c42b9001..ca7b5f3e63e761f1329392c174419b20bc45978f 100644 |
--- a/include/AdblockPlus/JsEngine.h |
+++ b/include/AdblockPlus/JsEngine.h |
@@ -313,6 +313,11 @@ namespace AdblockPlus |
return isolate->Get(); |
} |
+ /** |
+ * Notifies JS engine about critically low memory what should cause a |
+ * garbage collection. |
+ */ |
+ void NotifyLowMemory(); |
private: |
void CallTimerTask(const JsWeakValuesID& timerParamsID); |