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

Unified Diff: third_party/WebKit/Source/core/input/GestureManager.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
Index: third_party/WebKit/Source/core/input/GestureManager.cpp
diff --git a/third_party/WebKit/Source/core/input/GestureManager.cpp b/third_party/WebKit/Source/core/input/GestureManager.cpp
index 92a522770e6c91036fbfa9f9fea632286ddce102..4b4617dacce1e998af2d3dedfd30053f68a872fb 100644
--- a/third_party/WebKit/Source/core/input/GestureManager.cpp
+++ b/third_party/WebKit/Source/core/input/GestureManager.cpp
@@ -230,7 +230,7 @@ WebInputEventResult GestureManager::handleGestureTap(
if (currentHitTest.innerNode()) {
DCHECK(gestureEvent.type() == WebInputEvent::GestureTap);
HitTestResult result = currentHitTest;
- result.setToShadowHostIfInUserAgentShadowRoot();
+ result.setToShadowHostIfInRestrictedShadowRoot();
m_frame->chromeClient().onMouseDown(result.innerNode());
}
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/core/layout/HitTestResult.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698