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

Unified Diff: test/GlobalJsObject.cpp

Issue 29535600: Issue 5617 - Provide with async executor bound to Platform in the future (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created Sept. 4, 2017, 12:03 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
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)));
}
};

Powered by Google App Engine
This is Rietveld