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

Unified Diff: tracing/tracing/extras/chrome/cc/picture_as_image_data.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.html ('k') | tracing/tracing/extras/chrome/cc/picture_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/extras/chrome/cc/picture_as_image_data.html
diff --git a/tracing/tracing/extras/chrome/cc/picture_as_image_data.html b/tracing/tracing/extras/chrome/cc/picture_as_image_data.html
index 8bf4c6cac79bf611ac62c0bb7324b14bc52afcae..10d5345e01108f4b9deaee837d839f5c3e9c814e 100644
--- a/tracing/tracing/extras/chrome/cc/picture_as_image_data.html
+++ b/tracing/tracing/extras/chrome/cc/picture_as_image_data.html
@@ -51,8 +51,7 @@ tr.exportTo('tr.e.cc', function() {
},
asCanvas: function() {
- if (!this.imageData_)
- return;
+ if (!this.imageData_) return;
var canvas = document.createElement('canvas');
var ctx = canvas.getContext('2d');
« no previous file with comments | « tracing/tracing/extras/chrome/cc/picture.html ('k') | tracing/tracing/extras/chrome/cc/picture_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698