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

Unified Diff: test/FilterEngine.cpp

Issue 6233220328718336: Issue #3593, #1197- fix isolate management (Closed)
Patch Set: fix default arg for JsEngine::New Created Jan. 28, 2016, 2:02 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 | « test/BaseJsTest.cpp ('k') | test/Prefs.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/FilterEngine.cpp
diff --git a/test/FilterEngine.cpp b/test/FilterEngine.cpp
index 6ec07260955fcb07a3100de3d8253adcb046d1ff..3fb23a940f171797ff16de2f61d65e8f9c9ab67d 100644
--- a/test/FilterEngine.cpp
+++ b/test/FilterEngine.cpp
@@ -85,7 +85,7 @@ namespace
AdblockPlus::AppInfo appInfo;
appInfo.name = "test";
appInfo.version = "1.0.1";
- AdblockPlus::JsEnginePtr jsEngine = AdblockPlus::JsEngine::New(appInfo);
+ AdblockPlus::JsEnginePtr jsEngine = CreateJsEngine(appInfo);
jsEngine->SetFileSystem(AdblockPlus::FileSystemPtr(new LazyFileSystem));
mockWebRequest = new MockWebRequest;
jsEngine->SetWebRequest(AdblockPlus::WebRequestPtr(mockWebRequest));
« no previous file with comments | « test/BaseJsTest.cpp ('k') | test/Prefs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld