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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/ObjectPopoverHelper.js

Issue 2553043003: [DevTools] Remove methods on Common.Event. (Closed)
Patch Set: rebased 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/components/ObjectPopoverHelper.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/ObjectPopoverHelper.js b/third_party/WebKit/Source/devtools/front_end/components/ObjectPopoverHelper.js
index abbcb827459a3ce3fe83247c8092952bde0ce205..f892558204aeca33efd372e05831d51958559cb8 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/ObjectPopoverHelper.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/ObjectPopoverHelper.js
@@ -98,7 +98,7 @@ Components.ObjectPopoverHelper = class extends UI.PopoverHelper {
if (rawLocation && Runtime.experiments.isEnabled('continueToFirstInvocation')) {
var sectionToolbar = new UI.Toolbar('function-location-step-into', linkContainer);
var stepInto = new UI.ToolbarButton(Common.UIString('Continue to first invocation'), 'largeicon-step-in');
- stepInto.addEventListener('click', () => rawLocation.continueToLocation());
+ stepInto.addEventListener(UI.ToolbarButton.Events.Click, () => rawLocation.continueToLocation());
sectionToolbar.appendToolbarItem(stepInto);
}
var sourceURL = rawLocation && rawLocation.script() ? rawLocation.script().sourceURL : null;

Powered by Google App Engine
This is Rietveld 408576698