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

Unified Diff: third_party/WebKit/Source/core/input/EventHandler.cpp

Issue 2787943002: [WIP] Use the flat tree for hover handling.
Patch Set: Created 3 years, 9 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
Index: third_party/WebKit/Source/core/input/EventHandler.cpp
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp
index 7d8aeabcfe489045402819de9ffbd4571fd90690..d6cc2657b2415f5fccef1aef27212287f5db12a1 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
@@ -1473,7 +1473,7 @@ void EventHandler::updateGestureHoverActiveState(const HitTestRequest& request,
: nullptr;
}
- Node* oldHoverNodeInCurDoc = m_frame->document()->hoverNode();
+ Node* oldHoverNodeInCurDoc = m_frame->document()->hoverElement();
Node* newInnermostHoverNode = innerElement;
if (newInnermostHoverNode != oldHoverNodeInCurDoc) {
@@ -1499,7 +1499,7 @@ void EventHandler::updateGestureHoverActiveState(const HitTestRequest& request,
if (!doc)
break;
- oldHoverNodeInCurDoc = doc->hoverNode();
+ oldHoverNodeInCurDoc = doc->hoverElement();
// If the old hovered frame is different from the new hovered frame.
// we should clear the old hovered node from the old hovered frame.
if (newHoverFrame != oldHoverFrame)
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698