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..f0e2ebdb858a71785df467afcc1a21410e933df0 100644 |
--- a/tracing/tracing/model/stack_frame.html |
+++ b/tracing/tracing/model/stack_frame.html |
@@ -31,8 +31,11 @@ tr.exportTo('tr.model', function() { |
}, |
get title() { |
- if (this.sourceInfo_) |
- return this.title_ + ' ' + this.sourceInfo_.toString(); |
+ if (this.sourceInfo_) { |
+ var src = this.sourceInfo_.toString(); |
+ |
petrcermak
2015/08/12 10:53:24
personal taste (feel free to ignore): I would drop
dsinclair
2015/08/13 14:55:33
Done.
|
+ return this.title_ + (src === '' ? '' : ' ' + src); |
+ } |
return this.title_; |
}, |