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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui_lazy/TimelineOverviewPane.js

Issue 2261933002: DevTools: Use JS symbols instead of strings for eligible events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: third_party/WebKit/Source/devtools/front_end/ui_lazy/TimelineOverviewPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui_lazy/TimelineOverviewPane.js b/third_party/WebKit/Source/devtools/front_end/ui_lazy/TimelineOverviewPane.js
index 8ddeaa45014806dc37f1e68b254a299f2ae24d61..99eab1ba454ffdcf237916fe42715793a161cea9 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui_lazy/TimelineOverviewPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui_lazy/TimelineOverviewPane.js
@@ -62,8 +62,9 @@ WebInspector.TimelineOverviewPane = function(prefix)
this._lastWidth = 0;
}
+/** @enum {symbol} */
WebInspector.TimelineOverviewPane.Events = {
- WindowChanged: "WindowChanged"
+ WindowChanged: Symbol("WindowChanged")
};
WebInspector.TimelineOverviewPane.prototype = {

Powered by Google App Engine
This is Rietveld 408576698