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

Unified Diff: src/ConsoleJsObject.h

Issue 29409580: Issue 5013 - Make parameter const ref when applicable. (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: Rebased Created April 12, 2017, 8:49 a.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/ConsoleJsObject.h
===================================================================
--- a/src/ConsoleJsObject.h
+++ b/src/ConsoleJsObject.h
@@ -22,13 +22,13 @@
#include <AdblockPlus/JsEngine.h>
namespace AdblockPlus
{
class JsEngine;
namespace ConsoleJsObject
{
- JsValuePtr Setup(JsEnginePtr jsEngine, JsValuePtr obj);
+ JsValuePtr Setup(JsEngine& jsEngine, const JsValuePtr& obj);
}
}
#endif

Powered by Google App Engine
This is Rietveld