Chromium Code Reviews

Unified Diff: src/log-utils.cc

Issue 6551011: Fix CPU profiling for Crankshaft. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/log-utils.cc
diff --git a/src/log-utils.cc b/src/log-utils.cc
index c7b75679ea9ba2acb6f54b21b03c7a34610f4908..9a498ec0ff95826a42a1edc69e6d272a047da603 100644
--- a/src/log-utils.cc
+++ b/src/log-utils.cc
@@ -300,6 +300,8 @@ void LogMessageBuilder::AppendDetailed(String* str, bool show_impl_info) {
Append("\\,");
} else if (c == '\\') {
Append("\\\\");
+ } else if (c == '\"') {
+ Append("\"\"");
} else {
Append("%lc", c);
}

Powered by Google App Engine