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

Unified Diff: tracing/tracing/extras/importer/etw/eventtrace_parser.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
Index: tracing/tracing/extras/importer/etw/eventtrace_parser.html
diff --git a/tracing/tracing/extras/importer/etw/eventtrace_parser.html b/tracing/tracing/extras/importer/etw/eventtrace_parser.html
index 324d02f2987f3d7683a4067d65958cc01d961e21..ad160f624c93cdc291b2a0c84d6e3a17c64f8770 100644
--- a/tracing/tracing/extras/importer/etw/eventtrace_parser.html
+++ b/tracing/tracing/extras/importer/etw/eventtrace_parser.html
@@ -37,8 +37,9 @@ tr.exportTo('tr.e.importer.etw', function() {
__proto__: Parser.prototype,
decodeFields: function(header, decoder) {
- if (header.version !== 2)
+ if (header.version !== 2) {
throw new Error('Incompatible EventTrace event version.');
+ }
var bufferSize = decoder.decodeUInt32();
var version = decoder.decodeUInt32();
« no previous file with comments | « tracing/tracing/extras/importer/etw/etw_importer_test.html ('k') | tracing/tracing/extras/importer/etw/process_parser.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698