| Index: src/WebRequestJsObject.cpp |
| diff --git a/src/WebRequestJsObject.cpp b/src/WebRequestJsObject.cpp |
| index 7aad0ca25dda4b1d7a417e56bcab4d4bd92a5978..9764ee343e116e40855b2aafc6b8a7f2e7ed6757 100644 |
| --- a/src/WebRequestJsObject.cpp |
| +++ b/src/WebRequestJsObject.cpp |
| @@ -21,7 +21,7 @@ |
| #include "JsContext.h" |
| #include "Utils.h" |
| #include "WebRequestJsObject.h" |
| -#include <thread> // TODO: remove with removing of JsEngine::webRequestLegacy |
| +#include <AdblockPlus/Platform.h> |
| using namespace AdblockPlus; |
| @@ -80,7 +80,7 @@ void JsEngine::ScheduleWebRequest(const v8::FunctionCallbackInfo<v8::Value>& arg |
| webRequestParams[2].Call(resultObject); |
| }; |
| - jsEngine->webRequest->GET(url, headers, getCallback); |
| + jsEngine->GetPlatform().GetWebRequest().GET(url, headers, getCallback); |
| } |
| namespace |