Index: tracing/tracing/importer/simple_line_reader.html |
diff --git a/tracing/tracing/importer/simple_line_reader.html b/tracing/tracing/importer/simple_line_reader.html |
index 752bf0f7a4f3dae52b87aaacd826a072c28c490e..636c9e88585a58534928378811ad399703399432 100644 |
--- a/tracing/tracing/importer/simple_line_reader.html |
+++ b/tracing/tracing/importer/simple_line_reader.html |
@@ -23,10 +23,10 @@ tr.exportTo('tr.importer', function() { |
advanceToLineMatching: function(regex) { |
for (; this.curLine_ < this.lines_.length; this.curLine_++) { |
var line = this.lines_[this.curLine_]; |
- if (this.savedLines_ !== undefined) |
+ if (this.savedLines_ !== undefined) { |
this.savedLines_.push(line); |
- if (regex.test(line)) |
- return true; |
+ } |
+ if (regex.test(line)) return true; |
} |
return false; |
}, |