File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
ArrayBufferUniquePtr NodeTestFixture::allocator{nullptr , nullptr };
4
4
uv_loop_t NodeTestFixture::current_loop;
5
- std::unique_ptr<node::NodePlatform> NodeTestFixture::platform;
6
- std::unique_ptr<v8::TracingController> NodeTestFixture::tracing_controller;
5
+ NodePlatformUniquePtr NodeTestFixture::platform;
6
+ TracingControllerUniquePtr NodeTestFixture::tracing_controller;
Original file line number Diff line number Diff line change @@ -55,12 +55,14 @@ struct Argv {
55
55
56
56
using ArrayBufferUniquePtr = std::unique_ptr<node::ArrayBufferAllocator,
57
57
decltype (&node::FreeArrayBufferAllocator)>;
58
+ using TracingControllerUniquePtr = std::unique_ptr<v8::TracingController>;
59
+ using NodePlatformUniquePtr = std::unique_ptr<node::NodePlatform>;
58
60
59
61
class NodeTestFixture : public ::testing::Test {
60
62
protected:
61
63
static ArrayBufferUniquePtr allocator;
62
- static std::unique_ptr<v8::TracingController> tracing_controller;
63
- static std::unique_ptr<node::NodePlatform> platform;
64
+ static TracingControllerUniquePtr tracing_controller;
65
+ static NodePlatformUniquePtr platform;
64
66
static uv_loop_t current_loop;
65
67
v8::Isolate* isolate_;
66
68
You can’t perform that action at this time.
0 commit comments