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

Unified Diff: chrome/browser/resources/gpu_internals/timeline.js

Issue 7495036: about:gpu support for thread name metadata. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cleanup Created 9 years, 5 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
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();
« no previous file with comments | « chrome/browser/resources/gpu_internals/timeline.css ('k') | chrome/browser/resources/gpu_internals/timeline_model.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698