Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: base/trace_event/memory_allocator_dump.cc

Issue 1410333006: Enough hacks to make wstring printfs unneeded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/trace_event/memory_allocator_dump.cc
diff --git a/base/trace_event/memory_allocator_dump.cc b/base/trace_event/memory_allocator_dump.cc
index 76d53eb4762730c64ac43f1cf45b25520da0f9a0..6ea09e89b65f99b87f791d50f35d0f59186f3f1d 100644
--- a/base/trace_event/memory_allocator_dump.cc
+++ b/base/trace_event/memory_allocator_dump.cc
@@ -62,7 +62,7 @@ MemoryAllocatorDump::~MemoryAllocatorDump() {
void MemoryAllocatorDump::AddScalar(const char* name,
const char* units,
uint64 value) {
- SStringPrintf(&string_conversion_buffer_, "%" PRIx64, value);
+ /*SStringPrintf(&string_conversion_buffer_, "%" PRIx64, value);*/
attributes_->BeginDictionary(name);
attributes_->SetString("type", kTypeScalar);
attributes_->SetString("units", units);

Powered by Google App Engine
This is Rietveld 408576698