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

Unified Diff: shell/src/GcCommand.h

Issue 29508569: Issue 5450 - don't expose std::shared_ptr<JsEngine> (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created Aug. 7, 2017, 8:39 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
« no previous file with comments | « include/AdblockPlus/Platform.h ('k') | shell/src/GcCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/src/GcCommand.h
diff --git a/shell/src/GcCommand.h b/shell/src/GcCommand.h
index cc3aac874c1d40bf09623357dfa5aeaaa3d79f9b..9c290bb60d19cbf6cc756a318a1b6fbf5c5471da 100644
--- a/shell/src/GcCommand.h
+++ b/shell/src/GcCommand.h
@@ -26,13 +26,13 @@
class GcCommand : public Command
{
public:
- explicit GcCommand(AdblockPlus::JsEnginePtr jsEngine);
+ explicit GcCommand(AdblockPlus::JsEngine& jsEngine);
void operator()(const std::string& arguments);
std::string GetDescription() const;
std::string GetUsage() const;
private:
- AdblockPlus::JsEnginePtr jsEngine;
+ AdblockPlus::JsEngine& jsEngine;
};
#endif
« no previous file with comments | « include/AdblockPlus/Platform.h ('k') | shell/src/GcCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld