Index: src/WebRequestJsObject.cpp |
=================================================================== |
--- a/src/WebRequestJsObject.cpp |
+++ b/src/WebRequestJsObject.cpp |
@@ -111,13 +111,13 @@ |
return v8::ThrowException(ToV8String(isolate, e.what())); |
} |
thread->Start(); |
return v8::Undefined(); |
} |
} |
AdblockPlus::JsValuePtr AdblockPlus::WebRequestJsObject::Setup( |
- AdblockPlus::JsEnginePtr jsEngine, AdblockPlus::JsValuePtr obj) |
+ const AdblockPlus::JsEnginePtr& jsEngine, const AdblockPlus::JsValuePtr& obj) |
{ |
obj->SetProperty("GET", jsEngine->NewCallback(::GETCallback)); |
return obj; |
} |