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

Unified Diff: third_party/WebKit/Source/core/page/ChromeClient.cpp

Issue 2485203002: Revert of Fix link's hover state if the link under scrollbar (Closed)
Patch Set: Created 4 years, 1 month 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: third_party/WebKit/Source/core/page/ChromeClient.cpp
diff --git a/third_party/WebKit/Source/core/page/ChromeClient.cpp b/third_party/WebKit/Source/core/page/ChromeClient.cpp
index 5184b74ece32c83f25e0dc7f5a9687388b6680df..c048b73d418e85bef4138ffef2e6bb2874b45f22 100644
--- a/third_party/WebKit/Source/core/page/ChromeClient.cpp
+++ b/third_party/WebKit/Source/core/page/ChromeClient.cpp
@@ -151,16 +151,13 @@
void ChromeClient::mouseDidMoveOverElement(LocalFrame& frame,
const HitTestResult& result) {
- if (!result.scrollbar() && result.innerNode() &&
+ if (result.innerNode() &&
result.innerNode()->document().isDNSPrefetchEnabled())
prefetchDNS(result.absoluteLinkURL().host());
showMouseOverURL(result);
- if (result.scrollbar())
- clearToolTip(frame);
- else
- setToolTip(frame, result);
+ setToolTip(frame, result);
}
void ChromeClient::setToolTip(LocalFrame& frame, const HitTestResult& result) {
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698