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

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

Issue 2752763002: Change the type of a SVG <use> element's shadow tree from "user agent" to "closed" (Closed)
Patch Set: Rebased and resolve a conflict in HitTestResult 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/GestureManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1145a798db6cb6127709bcbe3124aac39ce568a2..e2a0d5bf3bbb4c2d36691f17314061db78f4c1e4 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
@@ -726,7 +726,7 @@ WebInputEventResult EventHandler::handleMousePressEvent(
mouseEvent.button == WebPointerProperties::Button::Left) {
DCHECK_EQ(WebInputEvent::MouseDown, mouseEvent.type());
HitTestResult result = mev.hitTestResult();
- result.setToShadowHostIfInUserAgentShadowRoot();
+ result.setToShadowHostIfInRestrictedShadowRoot();
m_frame->chromeClient().onMouseDown(result.innerNode());
}
@@ -756,7 +756,7 @@ WebInputEventResult EventHandler::handleMouseMoveEvent(
if (FrameView* frameView = m_frame->view())
frameView->mouseMovedInContentArea();
- hoveredNode.setToShadowHostIfInUserAgentShadowRoot();
+ hoveredNode.setToShadowHostIfInRestrictedShadowRoot();
page->chromeClient().mouseDidMoveOverElement(*m_frame, hoveredNode);
return result;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/GestureManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698