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

Unified Diff: tracing/tracing/ui/base/hotkey_controller_test.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/ui/base/hotkey_controller.html ('k') | tracing/tracing/ui/base/info_bar_group.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/hotkey_controller_test.html
diff --git a/tracing/tracing/ui/base/hotkey_controller_test.html b/tracing/tracing/ui/base/hotkey_controller_test.html
index c9dce3a0ab7bda9c12948850862a613c99851a3e..047b9be5cbdcb34b11eadeaabd6ae2a7a1028c71 100644
--- a/tracing/tracing/ui/base/hotkey_controller_test.html
+++ b/tracing/tracing/ui/base/hotkey_controller_test.html
@@ -16,8 +16,9 @@ tr.b.unittest.testSuite(function() {
function newKeyEvent(eventType, dict) {
var e = new tr.b.Event(eventType, true, true);
- if (dict.keyCode === undefined)
+ if (dict.keyCode === undefined) {
throw new Error('keyCode required');
+ }
e.keyCode = dict.keyCode;
return e;
}
« no previous file with comments | « tracing/tracing/ui/base/hotkey_controller.html ('k') | tracing/tracing/ui/base/info_bar_group.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698