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

Unified Diff: shell/src/Main.cpp

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 | « shell/src/GcCommand.cpp ('k') | shell/src/PrefsCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/src/Main.cpp
diff --git a/shell/src/Main.cpp b/shell/src/Main.cpp
index 3049a42dfae6a9f8c2a607233dea070e87092835..5e26f625cdfdd674df9773ba2343e97e73c28b0d 100644
--- a/shell/src/Main.cpp
+++ b/shell/src/Main.cpp
@@ -65,7 +65,7 @@ int main()
AdblockPlus::Platform platform;
platform.SetUpJsEngine(appInfo);
- AdblockPlus::JsEnginePtr jsEngine = platform.GetJsEngine();
+ AdblockPlus::JsEngine& jsEngine = platform.GetJsEngine();
auto filterEngine = platform.GetFilterEngine();
CommandMap commands;
« no previous file with comments | « shell/src/GcCommand.cpp ('k') | shell/src/PrefsCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld