| Index: third_party/WebKit/Source/devtools/front_end/components/HandlerRegistry.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/components/HandlerRegistry.js b/third_party/WebKit/Source/devtools/front_end/components/HandlerRegistry.js
|
| index b8b20f9d943ee7c4a6823903a11c6274b32fcac8..a9a4340d1034dc787a6d2f68f9c8a6876002bce6 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/components/HandlerRegistry.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/components/HandlerRegistry.js
|
| @@ -164,16 +164,14 @@ Components.HandlerRegistry = class extends Common.Object {
|
| return;
|
| var targetNode = /** @type {!Node} */ (target);
|
|
|
| - var anchorElement = targetNode.enclosingNodeOrSelfWithClass('webkit-html-resource-link') ||
|
| - targetNode.enclosingNodeOrSelfWithClass('webkit-html-external-link');
|
| + var anchorElement = targetNode.enclosingNodeOrSelfWithClass('webkit-html-resource-link');
|
| if (!anchorElement)
|
| return;
|
|
|
| var uiLocation = Components.Linkifier.uiLocationByAnchor(anchorElement);
|
| var resourceURL = uiLocation ? uiLocation.uiSourceCode.contentURL() : anchorElement.href;
|
| - var uiSourceCode = uiLocation ?
|
| - uiLocation.uiSourceCode :
|
| - (resourceURL ? Workspace.workspace.uiSourceCodeForURL(resourceURL) : null);
|
| + var uiSourceCode = uiLocation ? uiLocation.uiSourceCode :
|
| + (resourceURL ? Workspace.workspace.uiSourceCodeForURL(resourceURL) : null);
|
| function open() {
|
| Common.Revealer.reveal(uiSourceCode);
|
| }
|
|
|