From 07e9168b49fef4de49ee8629f8d9569a4021f5f6 Mon Sep 17 00:00:00 2001 From: "nduca@chromium.org" Date: Sun, 23 Oct 2011 03:10:51 +0000 Subject: Make AddTraceEventETW duplicate its name argument. Review URL: http://codereview.chromium.org/8368003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106870 0039d316-1c4b-4281-b951-d872f2087c98 --- base/debug/trace_event.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'base') diff --git a/base/debug/trace_event.cc b/base/debug/trace_event.cc index 347644f..107e599 100644 --- a/base/debug/trace_event.cc +++ b/base/debug/trace_event.cc @@ -526,7 +526,7 @@ void TraceLog::AddTraceEventEtw(TraceEventPhase phase, #endif INTERNAL_TRACE_EVENT_ADD(phase, "ETW Trace Event", name, "id", id, "extra", TRACE_STR_COPY(extra), - base::debug::TraceLog::EVENT_FLAG_NONE); + base::debug::TraceLog::EVENT_FLAG_COPY); } void TraceLog::AddTraceEventEtw(TraceEventPhase phase, @@ -539,7 +539,7 @@ void TraceLog::AddTraceEventEtw(TraceEventPhase phase, #endif INTERNAL_TRACE_EVENT_ADD(phase, "ETW Trace Event", name, "id", id, "extra", extra, - base::debug::TraceLog::EVENT_FLAG_NONE); + base::debug::TraceLog::EVENT_FLAG_COPY); } void TraceLog::AddCurrentMetadataEvents() { -- cgit v1.1