Index: src/JsContext.h |
=================================================================== |
--- a/src/JsContext.h |
+++ b/src/JsContext.h |
@@ -21,17 +21,17 @@ |
#include <v8.h> |
#include <AdblockPlus/JsEngine.h> |
namespace AdblockPlus |
{ |
class JsContext |
{ |
public: |
- explicit JsContext(const JsEnginePtr jsEngine); |
+ explicit JsContext(const JsEnginePtr& jsEngine); |
v8::Local<v8::Context> GetV8Context() const |
{ |
return context; |
} |
private: |
const v8::Locker locker; |