Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/components/Linkifier.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js b/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js |
| index a2a31523f74a882af3b70cc7d6a0e65fee4b962c..4926fac9712de8b707479812097b27abdee2146e 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js |
| @@ -326,7 +326,7 @@ Components.Linkifier = class { |
| return; |
| if (!Components.Linkifier._decorator || !info.uiLocation) |
| return; |
| - if (info.icon) |
| + if (info.icon && info.icon.parentElement) |
|
dgozman
2016/12/09 21:41:48
=== anchor ?
lushnikov
2016/12/10 00:58:45
I'd keep this as-is; icon should always be either
|
| anchor.removeChild(info.icon); |
| var icon = Components.Linkifier._decorator.linkIcon(info.uiLocation.uiSourceCode); |
| if (icon) { |