Index: test/GlobalJsObject.cpp |
diff --git a/test/GlobalJsObject.cpp b/test/GlobalJsObject.cpp |
index 53dc2b1ce8ea5a9b8c746d20d45a4984a360a9ac..92cdaa05e98875bf7d9095e303a44737aeeee85d 100644 |
--- a/test/GlobalJsObject.cpp |
+++ b/test/GlobalJsObject.cpp |
@@ -17,6 +17,7 @@ |
#include "BaseJsTest.h" |
#include "../src/Thread.h" |
+#include "../src/DefaultTimer.h" |
namespace |
{ |
@@ -26,7 +27,7 @@ namespace |
void SetUp() override |
{ |
ThrowingPlatformCreationParameters params; |
- params.timer = AdblockPlus::CreateDefaultTimer(); |
+ params.timer.reset(new AdblockPlus::DefaultTimer()); |
platform.reset(new AdblockPlus::Platform(std::move(params))); |
} |
}; |