summaryrefslogtreecommitdiffstats
path: root/chrome/test/logging
diff options
context:
space:
mode:
authorgrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-13 17:02:41 +0000
committergrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-13 17:02:41 +0000
commit38068b9a5194d96ac7775c882c2be790a88663c6 (patch)
treed6ec0fb59300b9cc3963a757de7851c68adc701f /chrome/test/logging
parent31f376cae2b8ca1d7af8104745aa34991b33a30a (diff)
downloadchromium_src-38068b9a5194d96ac7775c882c2be790a88663c6.zip
chromium_src-38068b9a5194d96ac7775c882c2be790a88663c6.tar.gz
chromium_src-38068b9a5194d96ac7775c882c2be790a88663c6.tar.bz2
Windows test logging: switch back to base-10 after emitting a base-16 id.
BUG=none TEST=none R=erikwright@chromium.org Review URL: https://chromiumcodereview.appspot.com/9693040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126408 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/logging')
-rw-r--r--chrome/test/logging/win/log_file_printer.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/test/logging/win/log_file_printer.cc b/chrome/test/logging/win/log_file_printer.cc
index 02d5255..1d5dfd2 100644
--- a/chrome/test/logging/win/log_file_printer.cc
+++ b/chrome/test/logging/win/log_file_printer.cc
@@ -236,7 +236,8 @@ void EventPrinter::OnTraceEvent(const EVENT_TRACE* event,
DWORD stack_depth,
const intptr_t* backtrace) {
PrintEventContext(event, GetTraceTypeString(type), base::StringPiece());
- *out_ << name << " (id=" << std::hex << id << ") " << extra << std::endl;
+ *out_ << name << " (id=0x" << std::hex << id << std::dec << ") " << extra
+ << std::endl;
}
} // namespace