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

Unified Diff: src/AppInfoJsObject.h

Issue 29409580: Issue 5013 - Make parameter const ref when applicable. (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: the input stream is no longer const. Created April 12, 2017, 3:08 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
« no previous file with comments | « include/AdblockPlus/JsValue.h ('k') | src/AppInfoJsObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/AppInfoJsObject.h
===================================================================
--- a/src/AppInfoJsObject.h
+++ b/src/AppInfoJsObject.h
@@ -14,21 +14,21 @@
* You should have received a copy of the GNU General Public License
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ADBLOCK_PLUS_APP_INFO_JS_OBJECT_H
#define ADBLOCK_PLUS_APP_INFO_JS_OBJECT_H
#include <v8.h>
-#include <AdblockPlus/JsEngine.h>
+#include <AdblockPlus/JsValue.h>
namespace AdblockPlus
{
struct AppInfo;
namespace AppInfoJsObject
{
- JsValuePtr Setup(JsEnginePtr jsEngine, const AppInfo& appInfo, JsValuePtr obj);
+ JsValuePtr Setup(const AppInfo& appInfo, const JsValuePtr& obj);
}
}
#endif
« no previous file with comments | « include/AdblockPlus/JsValue.h ('k') | src/AppInfoJsObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld