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

Unified Diff: src/JsEngine.cpp

Issue 29428624: Issue 5180 - stop using of WebRequestPtr in tests (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created May 3, 2017, 2:07 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/WebRequest.h ('k') | test/BaseJsTest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/JsEngine.cpp
diff --git a/src/JsEngine.cpp b/src/JsEngine.cpp
index 2e67495c50cc77524990eaed6e03e7af7a9648ec..4604b041823d7543ab29faecb2acccdaec4e94a0 100644
--- a/src/JsEngine.cpp
+++ b/src/JsEngine.cpp
@@ -309,12 +309,12 @@ void AdblockPlus::JsEngine::SetFileSystem(const AdblockPlus::FileSystemPtr& val)
fileSystem = val;
}
-AdblockPlus::WebRequestPtr AdblockPlus::JsEngine::GetWebRequest() const
+WebRequestSharedPtr AdblockPlus::JsEngine::GetWebRequest() const
{
return webRequest;
}
-void AdblockPlus::JsEngine::SetWebRequest(const AdblockPlus::WebRequestPtr& val)
+void AdblockPlus::JsEngine::SetWebRequest(const AdblockPlus::WebRequestSharedPtr& val)
{
if (!val)
throw std::runtime_error("WebRequest cannot be null");
« no previous file with comments | « include/AdblockPlus/WebRequest.h ('k') | test/BaseJsTest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld