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

Unified Diff: tracing/tracing/ui/extras/chrome/cc/picture_debugger.html

Issue 2771723003: [tracing] Move math utilities from base into their own subdirectory (attempt 2) (Closed)
Patch Set: rebase Created 3 years, 9 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: tracing/tracing/ui/extras/chrome/cc/picture_debugger.html
diff --git a/tracing/tracing/ui/extras/chrome/cc/picture_debugger.html b/tracing/tracing/ui/extras/chrome/cc/picture_debugger.html
index 30e1e8fa61845967dbfe006fec4d20157186a462..3adfd37a051a84aabcdf0e0c631750b2e507f420 100644
--- a/tracing/tracing/ui/extras/chrome/cc/picture_debugger.html
+++ b/tracing/tracing/ui/extras/chrome/cc/picture_debugger.html
@@ -385,7 +385,7 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
this.selectedOpIndex = 0;
return;
}
- this.selectedOpIndex = tr.b.clamp(
+ this.selectedOpIndex = tr.b.math.clamp(
this.selectedOpIndex + increment,
0, this.numOps);
},

Powered by Google App Engine
This is Rietveld 408576698