Index: chrome/browser/resources/gpu_internals/timeline.js |
diff --git a/chrome/browser/resources/gpu_internals/timeline.js b/chrome/browser/resources/gpu_internals/timeline.js |
index 6a08cd53f7750e4739940e770b345d69c36658ff..dd92c16be5bfe6ca61e996fce3b10bb7429fde26 100644 |
--- a/chrome/browser/resources/gpu_internals/timeline.js |
+++ b/chrome/browser/resources/gpu_internals/timeline.js |
@@ -207,6 +207,7 @@ cr.define('gpu', function() { |
// Create tracks. |
this.tracks_.textContent = ''; |
var threads = model.getAllThreads(); |
+ threads.sort(gpu.TimelineThread.compare); |
for (var tI = 0; tI < threads.length; tI++) { |
var thread = threads[tI]; |
var track = new TimelineThreadTrack(); |