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

Unified Diff: tracing/tracing/model/stack_frame.html

Issue 1276003004: Process v8 sampling data into the trace model. (Closed) Base URL: git@github.com:catapult-project/catapult.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « tracing/tracing/model/source_info/source_info.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/stack_frame.html
diff --git a/tracing/tracing/model/stack_frame.html b/tracing/tracing/model/stack_frame.html
index b10d3f01a35d1c188aab981c22ce4bb1f1860c43..af676b5ee47d5e5135edab5bec694d31d6ebdca3 100644
--- a/tracing/tracing/model/stack_frame.html
+++ b/tracing/tracing/model/stack_frame.html
@@ -31,8 +31,10 @@ tr.exportTo('tr.model', function() {
},
get title() {
- if (this.sourceInfo_)
- return this.title_ + ' ' + this.sourceInfo_.toString();
+ if (this.sourceInfo_) {
+ var src = this.sourceInfo_.toString();
+ return this.title_ + (src === '' ? '' : ' ' + src);
+ }
return this.title_;
},
« no previous file with comments | « tracing/tracing/model/source_info/source_info.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698