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

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

Issue 2904823003: DevTools: remove unused preventFollow (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 254f618605c27444349e5949592677e07f5945c9..b7741cdd622e9001f2c1718be5374e3b19767896 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js
@@ -477,7 +477,7 @@ Components.Linkifier = class {
static _handleClick(event) {
var link = /** @type {!Element} */ (event.currentTarget);
event.consume(true);
- if (link.preventFollow || UI.isBeingEdited(/** @type {!Node} */ (event.target)))
+ if (UI.isBeingEdited(/** @type {!Node} */ (event.target)))
return;
var actions = Components.Linkifier._linkActions(link);
if (actions.length)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698