Use trace event with zero args
This commit is contained in:
parent
a7a06a483e
commit
3796d7a6a1
2 changed files with 2 additions and 8 deletions
|
@ -18,7 +18,6 @@
|
|||
#include "base/message_loop/message_loop.h"
|
||||
#include "base/path_service.h"
|
||||
#include "base/trace_event/trace_event.h"
|
||||
#include "base/trace_event/trace_event_argument.h"
|
||||
#include "content/public/browser/browser_thread.h"
|
||||
#include "content/public/common/content_paths.h"
|
||||
#include "native_mate/dictionary.h"
|
||||
|
@ -242,9 +241,7 @@ void NodeBindings::UvRunOnce() {
|
|||
v8::MicrotasksScope::kRunMicrotasks);
|
||||
|
||||
if (!is_browser_)
|
||||
TRACE_EVENT_BEGIN1("devtools.timeline", "FunctionCall", "data",
|
||||
std::unique_ptr<base::trace_event::TracedValue>(
|
||||
new base::trace_event::TracedValue()));
|
||||
TRACE_EVENT_BEGIN0("devtools.timeline", "FunctionCall");
|
||||
|
||||
// Deal with uv events.
|
||||
int r = uv_run(uv_loop_, UV_RUN_NOWAIT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue