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

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

Issue 2955043002: Remove tr.b.asArray. (Closed)
Patch Set: Created 3 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
Index: tracing/tracing/ui/extras/chrome/cc/raster_task_selection.html
diff --git a/tracing/tracing/ui/extras/chrome/cc/raster_task_selection.html b/tracing/tracing/ui/extras/chrome/cc/raster_task_selection.html
index 44c0b5deb368e810fd8ca410be9c967e151f4e57..6b1a7cb7df05ab96aca5d9cdf421f46c10a2bc85 100644
--- a/tracing/tracing/ui/extras/chrome/cc/raster_task_selection.html
+++ b/tracing/tracing/ui/extras/chrome/cc/raster_task_selection.html
@@ -25,7 +25,7 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
if (!whySupported.ok) {
throw new Error('Fail: ' + whySupported.why);
}
- this.slices_ = tr.b.asArray(selection);
+ this.slices_ = Array.from(selection);
this.tiles_ = this.slices_.map(function(slice) {
const tile = tr.e.cc.getTileFromRasterTaskSlice(slice);
if (tile === undefined) {
« no previous file with comments | « tracing/tracing/ui/analysis/multi_object_sub_view.html ('k') | tracing/tracing/ui/find_controller_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698