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

Unified Diff: Source/devtools/front_end/timeline/TimelinePanel.js

Issue 659403006: DevTools: do not consider ? a shortcut while editing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | Source/devtools/front_end/ui/UIUtils.js » ('j') | Source/devtools/front_end/ui/UIUtils.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/timeline/TimelinePanel.js
diff --git a/Source/devtools/front_end/timeline/TimelinePanel.js b/Source/devtools/front_end/timeline/TimelinePanel.js
index e1f73156d635d71781803bac4dcc6518ebc54367..2accd5a40a15643bc845c6f624a4ccf26cfa2b0c 100644
--- a/Source/devtools/front_end/timeline/TimelinePanel.js
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js
@@ -341,7 +341,7 @@ WebInspector.TimelinePanel.prototype = {
if (Runtime.experiments.isEnabled("timelineOnTraceEvents")) {
this._flameChartToggleButton = new WebInspector.StatusBarButton(WebInspector.UIString("Flame chart view. (Use WASD or time selection to navigate)"), "timeline-flame-chart-status-bar-item");
this._flameChartToggleButton.toggled = this._flameChartEnabledSetting.get();
- this._flameChartToggleButton.addEventListener("click", this._flameChartEnabledChanged.bind(this, this._flameChartToggleButton));
+ this._flameChartToggleButton.addEventListener("click", this._flameChartEnabledChanged.bind(this));
this._statusBarButtons.push(this._flameChartToggleButton);
panelStatusBarElement.appendChild(this._flameChartToggleButton.element);
}
« no previous file with comments | « no previous file | Source/devtools/front_end/ui/UIUtils.js » ('j') | Source/devtools/front_end/ui/UIUtils.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698