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

Unified Diff: Source/devtools/front_end/elements/EventListenersSidebarPane.js

Issue 404953004: DevTools: Refactor linkifyRawLocation to use fallback url (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address aandrey's comments #2 Created 6 years, 5 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: Source/devtools/front_end/elements/EventListenersSidebarPane.js
diff --git a/Source/devtools/front_end/elements/EventListenersSidebarPane.js b/Source/devtools/front_end/elements/EventListenersSidebarPane.js
index a639a53f2ffc2fbf47c437329ae2b1655d3ab278..508048bf16528f1c6b5c6b82365deb38c9e45406 100644
--- a/Source/devtools/front_end/elements/EventListenersSidebarPane.js
+++ b/Source/devtools/front_end/elements/EventListenersSidebarPane.js
@@ -267,7 +267,8 @@ WebInspector.EventListenerBar.prototype = {
_setFunctionSubtitle: function(linkifier)
{
this.subtitleElement.removeChildren();
- this.subtitleElement.appendChild(linkifier.linkifyRawLocation(this._eventListener.location()));
+ var link = linkifier.linkifyRawLocation(this._eventListener.location(), this._eventListener.sourceName());
+ this.subtitleElement.appendChild(link);
},
__proto__: WebInspector.ObjectPropertiesSection.prototype
« no previous file with comments | « Source/devtools/front_end/console/ConsoleViewMessage.js ('k') | Source/devtools/front_end/network/NetworkPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698