Bug 735829 - Very minor fix: add quotes around PDB name string
authorVladan Djeric <vdjeric@mozilla.com>
Mon, 26 Mar 2012 22:02:46 -0400
changeset 93692 d69e6105b5b19ea9ac0bc32dba4de99d369c0283
parent 93691 18801aa145f05c61bca7ce946cb396914b690114
child 93693 3f9b7201c29db9c873cc797aa21ab0ec025814a9
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs735829
milestone14.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 735829 - Very minor fix: add quotes around PDB name string
tools/profiler/nsProfiler.cpp
--- a/tools/profiler/nsProfiler.cpp
+++ b/tools/profiler/nsProfiler.cpp
@@ -94,17 +94,17 @@ AddSharedLibraryInfoToStream(std::ostrea
 {
   aStream << "{";
   aStream << "\"start\":" << aLib.GetStart();
   aStream << ",\"end\":" << aLib.GetEnd();
   aStream << ",\"name\":\"" << aLib.GetName() << "\"";
 #ifdef XP_WIN
   aStream << ",\"pdbSignature\":\"" << aLib.GetPdbSignature().ToString() << "\"";
   aStream << ",\"pdbAge\":" << aLib.GetPdbAge();
-  aStream << ",\"pdbName\":" << aLib.GetPdbName();
+  aStream << ",\"pdbName\":\"" << aLib.GetPdbName() << "\"";
 #endif
   aStream << "}";
 }
 
 static std::string
 GetSharedLibraryInfoString()
 {
   SharedLibraryInfo info = SharedLibraryInfo::GetInfoForSelf();