Index: include/AdblockPlus/JsEngine.h |
=================================================================== |
--- a/include/AdblockPlus/JsEngine.h |
+++ b/include/AdblockPlus/JsEngine.h |
@@ -253,6 +253,8 @@ |
private: |
explicit JsEngine(const ScopedV8IsolatePtr& isolate); |
+ JsValuePtr GetGlobalObject(); |
+ |
/// Isolate must be disposed only after disposing of all objects which are |
/// using it. |
ScopedV8IsolatePtr isolate; |
@@ -262,7 +264,6 @@ |
LogSystemPtr logSystem; |
std::unique_ptr<v8::Persistent<v8::Context>> context; |
EventMap eventCallbacks; |
- JsValuePtr globalJsObject; |
}; |
} |