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

Unified Diff: src/FileSystemJsObject.h

Issue 29409580: Issue 5013 - Make parameter const ref when applicable. (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: Pass ref or const ref instead of shared_ptr<> Created April 11, 2017, 3:37 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 | « src/DefaultFileSystem.cpp ('k') | src/FileSystemJsObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/FileSystemJsObject.h
===================================================================
--- a/src/FileSystemJsObject.h
+++ b/src/FileSystemJsObject.h
@@ -22,13 +22,13 @@
#include <AdblockPlus/JsEngine.h>
namespace AdblockPlus
{
class FileSystem;
namespace FileSystemJsObject
{
- JsValuePtr Setup(JsEnginePtr jsEngine, JsValuePtr obj);
+ JsValuePtr Setup(JsEngine& jsEngine, const JsValuePtr& obj);
}
}
#endif
« no previous file with comments | « src/DefaultFileSystem.cpp ('k') | src/FileSystemJsObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld