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

Unified Diff: tracing/tracing/ui/base/hotkey_controller.html

Issue 2390373003: Change all == to === and != to !== in trace viewer. (Closed)
Patch Set: Created 4 years, 2 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/base/hotkey_controller.html
diff --git a/tracing/tracing/ui/base/hotkey_controller.html b/tracing/tracing/ui/base/hotkey_controller.html
index d0d9d7671910e0ef7129a924c3d1327811843543..1ba4f4633857b97038b36c82239fb4d94ba54d8f 100644
--- a/tracing/tracing/ui/base/hotkey_controller.html
+++ b/tracing/tracing/ui/base/hotkey_controller.html
@@ -233,7 +233,7 @@ Polymer({
onKey_: function(useCapture, e) {
// Keys dispatched to INPUT elements still bubble, even when they're
// handled. So, skip any events that targeted the input element.
- if (useCapture == false && e.path[0].tagName == 'INPUT')
+ if (useCapture === false && e.path[0].tagName === 'INPUT')
charliea (OOO until 10-5) 2016/10/05 18:53:42 same: should be if (!useCapture
return;
var sortedControllers;

Powered by Google App Engine
This is Rietveld 408576698