diff options
author | nduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-23 03:10:51 +0000 |
---|---|---|
committer | nduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-23 03:10:51 +0000 |
commit | 07e9168b49fef4de49ee8629f8d9569a4021f5f6 (patch) | |
tree | 03b79af09913763c7a31aebb6515ac983d49af74 /base | |
parent | 39dc9d7cbf2654987a8fc3c658cf69239080d185 (diff) | |
download | chromium_src-07e9168b49fef4de49ee8629f8d9569a4021f5f6.zip chromium_src-07e9168b49fef4de49ee8629f8d9569a4021f5f6.tar.gz chromium_src-07e9168b49fef4de49ee8629f8d9569a4021f5f6.tar.bz2 |
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
Diffstat (limited to 'base')
-rw-r--r-- | base/debug/trace_event.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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() { |