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

Unified Diff: tracing/tracing/extras/chrome/cc/raster_task.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (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
« no previous file with comments | « tracing/tracing/extras/chrome/cc/picture_test.html ('k') | tracing/tracing/extras/chrome/cc/region.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/extras/chrome/cc/raster_task.html
diff --git a/tracing/tracing/extras/chrome/cc/raster_task.html b/tracing/tracing/extras/chrome/cc/raster_task.html
index af2e41f62c7a85765f96249d92cbe279b465c215..14818080ec33548d41cd88ed4e7ec2c1436e103a 100644
--- a/tracing/tracing/extras/chrome/cc/raster_task.html
+++ b/tracing/tracing/extras/chrome/cc/raster_task.html
@@ -29,22 +29,23 @@ tr.exportTo('tr.e.cc', function() {
];
function getTileFromRasterTaskSlice(slice) {
- if (!(isSliceDoingRasterization(slice) || isSliceDoingAnalysis(slice)))
+ if (!(isSliceDoingRasterization(slice) || isSliceDoingAnalysis(slice))) {
return undefined;
+ }
var tileData;
- if (slice.args.data)
+ if (slice.args.data) {
tileData = slice.args.data;
- else
+ } else {
tileData = slice.args.tileData;
- if (tileData === undefined)
- return undefined;
- if (tileData.tile_id)
- return tileData.tile_id;
+ }
+ if (tileData === undefined) return undefined;
+ if (tileData.tile_id) return tileData.tile_id;
var tile = tileData.tileId;
- if (!(tile instanceof tr.e.cc.TileSnapshot))
+ if (!(tile instanceof tr.e.cc.TileSnapshot)) {
return undefined;
+ }
return tileData.tileId;
}
« no previous file with comments | « tracing/tracing/extras/chrome/cc/picture_test.html ('k') | tracing/tracing/extras/chrome/cc/region.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698