v8-platform header is not required explicitly
This commit is contained in:
parent
d141d2445d
commit
f4ee48eaf4
1 changed files with 12 additions and 11 deletions
|
@ -6,7 +6,6 @@
|
|||
#define ATOM_COMMON_NODE_INCLUDES_H_
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "v8-platform.h" // NOLINT
|
||||
|
||||
// Include common headers for using node APIs.
|
||||
|
||||
|
@ -15,16 +14,6 @@
|
|||
// The following define makes sure that we do not include the macros
|
||||
// again. But we still need the tracing functions, so declaring them.
|
||||
#define SRC_TRACING_TRACE_EVENT_H_
|
||||
namespace node {
|
||||
namespace tracing {
|
||||
class TraceEventHelper {
|
||||
public:
|
||||
static v8::TracingController* GetTracingController();
|
||||
static void SetTracingController(v8::TracingController* controller);
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#undef ASSERT
|
||||
#undef CHECK
|
||||
|
@ -48,4 +37,16 @@ class TraceEventHelper {
|
|||
#include "vendor/node/src/node_internals.h"
|
||||
#include "vendor/node/src/node_platform.h"
|
||||
|
||||
namespace node {
|
||||
namespace tracing {
|
||||
|
||||
class TraceEventHelper {
|
||||
public:
|
||||
static v8::TracingController* GetTracingController();
|
||||
static void SetTracingController(v8::TracingController* controller);
|
||||
};
|
||||
|
||||
} // namespace tracing
|
||||
} // namespace node
|
||||
|
||||
#endif // ATOM_COMMON_NODE_INCLUDES_H_
|
||||
|
|
Loading…
Reference in a new issue