Index: third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
index f3d3de831bf09579062473a811d0312d14b9be1e..6e6be67b75aafd82acf632d13e390460d38d2ae0 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
@@ -238,9 +238,8 @@ void HTMLAnchorElement::defaultEventHandler(Event* event) |
return; |
} |
- // TODO(horo): Call NavigationHintSender::handleEvent() when |
- // SpeculativeLaunchServiceWorker feature is enabled. |
- // ensureNavigationHintSender()->handleEvent(event); |
+ if (RuntimeEnabledFeatures::speculativeLaunchServiceWorkerEnabled()) |
+ ensureNavigationHintSender()->handleEvent(event); |
if (isLinkClick(event) && isLiveLink()) { |
handleClick(event); |