diff options
author | wangxianzhu@chromium.org <wangxianzhu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-01 22:31:11 +0000 |
---|---|---|
committer | wangxianzhu@chromium.org <wangxianzhu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-01 22:31:11 +0000 |
commit | 11d1bdfa931eebe63e46b769d7508cc5d82fbcec (patch) | |
tree | 96621d82ecd925446c56a028c6bc94a894d38cc1 /chrome/utility | |
parent | 94cc4b4cc79ad6ab1cb909ff70087e11fe655385 (diff) | |
download | chromium_src-11d1bdfa931eebe63e46b769d7508cc5d82fbcec.zip chromium_src-11d1bdfa931eebe63e46b769d7508cc5d82fbcec.tar.gz chromium_src-11d1bdfa931eebe63e46b769d7508cc5d82fbcec.tar.bz2 |
Fix crash when ECHO_TO_CONSOLE
TraceEvent's copy constructor has a side-effect that the ownership
of the convertable values will be passed from the source TraceEvent
to the target TraceEvent.
Handle ECHO_TO_CONSOLE before the event is added to the buffer.
The copy constructor will be obsoleted soon to avoid such issues.
BUG=302676
TEST=Run cc_unittests with --trace_to_console
Review URL: https://codereview.chromium.org/25453005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226319 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/utility')
0 files changed, 0 insertions, 0 deletions