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

Unified Diff: chrome/browser/resources/tracing/timeline_model.js

Issue 8359025: Tons of timeline tweaks (Closed)
Patch Set: Disable eliding due to perf issues Created 9 years, 1 month 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
Index: chrome/browser/resources/tracing/timeline_model.js
diff --git a/chrome/browser/resources/tracing/timeline_model.js b/chrome/browser/resources/tracing/timeline_model.js
index a87370c17821a5b212ed8c2297fe83d4201841c4..40fff807b5de1fe44b7f8b9e2728b7a436805a51 100644
--- a/chrome/browser/resources/tracing/timeline_model.js
+++ b/chrome/browser/resources/tracing/timeline_model.js
@@ -283,7 +283,7 @@ cr.define('tracing', function() {
// Store the slice in a non-nested subrow.
var thread = self.getOrCreateProcess(event.pid).
- getOrCreateThread(event.tid);
+ getOrCreateThread(event.tid);
James Hawkins 2011/11/11 23:37:40 nit: Indentation for wrapped lines is 4 spaces fro
nduca 2011/11/12 01:28:27 Done.
thread.addNonNestedSlice(slice.slice);
delete state.openNonNestedSlices[name];
} else {
@@ -298,7 +298,7 @@ cr.define('tracing', function() {
// Store the slice on the correct subrow.
var thread = self.getOrCreateProcess(event.pid)
- .getOrCreateThread(event.tid);
+ .getOrCreateThread(event.tid);
var subRowIndex = state.openSlices.length;
thread.getSubrow(subRowIndex).push(slice);
@@ -338,7 +338,7 @@ cr.define('tracing', function() {
}
} else {
this.importErrors.push('Unrecognized event phase: ' + event.ph +
- '(' + event.name + ')');
+ '(' + event.name + ')');
}
}
this.pruneEmptyThreads();

Powered by Google App Engine
This is Rietveld 408576698