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

Unified Diff: base/profiler/native_stack_sampler_win.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/profiler/native_stack_sampler_win.cc
diff --git a/base/profiler/native_stack_sampler_win.cc b/base/profiler/native_stack_sampler_win.cc
index 203ab94053c5094d6ffed6863f586081cb40dbc4..d859aa36576b0b7933092016da484387b63f45a5 100644
--- a/base/profiler/native_stack_sampler_win.cc
+++ b/base/profiler/native_stack_sampler_win.cc
@@ -208,7 +208,7 @@ std::string GetBuildIDForModule(HMODULE module_handle) {
if (result != kGUIDSize)
return std::string();
RemoveChars(build_id, L"{}-", &build_id);
- build_id += StringPrintf(L"%d", age);
+ //build_id += StringPrintf(L"%d", age);
return WideToUTF8(build_id);
}

Powered by Google App Engine
This is Rietveld 408576698