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

Unified Diff: tools/tickprocessor.js

Issue 17620008: Include statistical profile into profviz. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: small tweak Created 7 years, 6 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
« tools/profviz/profviz.css ('K') | « tools/profviz/worker.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/tickprocessor.js
diff --git a/tools/tickprocessor.js b/tools/tickprocessor.js
index abb2f2d7ee7efabbf39d164701306c7b9d6d409a..ae654e94d8050a172f4b1a1e0c74af50c7eafd7d 100644
--- a/tools/tickprocessor.js
+++ b/tools/tickprocessor.js
@@ -204,7 +204,7 @@ function TickProcessor(
// Convert picoseconds to nanoseconds.
this.distortion_per_entry = isNaN(distortion) ? 0 : (distortion / 1000);
this.distortion = 0;
- var rangelimits = range.split(",");
+ var rangelimits = range ? range.split(",") : [];
var range_start = parseInt(rangelimits[0]);
var range_end = parseInt(rangelimits[1]);
// Convert milliseconds to nanoseconds.
« tools/profviz/profviz.css ('K') | « tools/profviz/worker.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698