Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/WebRequestJsObject.h

Issue 29410664: Issue 5013 - Use const JsValue and pass reference where applicable (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: Created April 12, 2017, 3:24 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/WebRequestJsObject.h
===================================================================
--- a/src/WebRequestJsObject.h
+++ b/src/WebRequestJsObject.h
@@ -22,13 +22,13 @@
#include <AdblockPlus/JsEngine.h>
namespace AdblockPlus
{
class JsEngine;
namespace WebRequestJsObject
{
- JsValuePtr Setup(JsEngine& jsEngine, const JsValuePtr& obj);
+ JsValue& Setup(JsEngine& jsEngine, JsValue& obj);
}
}
#endif
« src/FilterEngine.cpp ('K') | « src/JsValue.cpp ('k') | src/WebRequestJsObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld