Index: include/AdblockPlus/Platform.h |
diff --git a/include/AdblockPlus/Platform.h b/include/AdblockPlus/Platform.h |
index e40823f10ffa12b1d774854f38ac7c7b8a1271ff..9c89eda556d28d207a33600bda25f2e76e851ce5 100644 |
--- a/include/AdblockPlus/Platform.h |
+++ b/include/AdblockPlus/Platform.h |
@@ -104,7 +104,7 @@ namespace AdblockPlus |
* Retrieves the `JsEngine` instance. It calls SetUpJsEngine if JsEngine is |
* not initialized yet. |
*/ |
- std::shared_ptr<JsEngine> GetJsEngine(); |
+ JsEngine& GetJsEngine(); |
/** |
* Ensures that FilterEngine is constructed. Only the first call is effective. |