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

Unified Diff: third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js

Issue 2560553004: Revert of [DevTools] Remove methods on Common.Event. (Closed)
Patch Set: Created 4 years 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/animation/AnimationTimeline.js
diff --git a/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js b/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js
index 298469e3d26186f2e60bdadbf482e460fc0fa13a..643e9148c0615312bbc8deb3d9125a8ba15828aa 100644
--- a/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js
+++ b/third_party/WebKit/Source/devtools/front_end/animation/AnimationTimeline.js
@@ -112,7 +112,7 @@
var toolbarContainer = this.contentElement.createChild('div', 'animation-timeline-toolbar-container');
var topToolbar = new UI.Toolbar('animation-timeline-toolbar', toolbarContainer);
var clearButton = new UI.ToolbarButton(Common.UIString('Clear all'), 'largeicon-clear');
- clearButton.addEventListener(UI.ToolbarButton.Events.Click, this._reset.bind(this));
+ clearButton.addEventListener('click', this._reset.bind(this));
topToolbar.appendToolbarItem(clearButton);
topToolbar.appendSeparator();

Powered by Google App Engine
This is Rietveld 408576698