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

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.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/web/WebFrameWidgetImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
index 631c93058927d6971bb07e402de4af512413f1e9..21987cb29ebbaa6345a769732191bfabe33047f0 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
@@ -744,7 +744,7 @@ void WebFrameWidgetImpl::handleMouseDown(LocalFrame& mainFrame,
point = m_localRoot->frameView()->rootFrameToContents(point);
HitTestResult result(
m_localRoot->frame()->eventHandler().hitTestResultAtPoint(point));
- result.setToShadowHostIfInUserAgentShadowRoot();
+ result.setToShadowHostIfInRestrictedShadowRoot();
Node* hitNode = result.innerNode();
if (!result.scrollbar() && hitNode && hitNode->layoutObject() &&
@@ -1115,7 +1115,7 @@ HitTestResult WebFrameWidgetImpl::hitTestResultForRootFramePos(
HitTestResult result =
m_localRoot->frame()->eventHandler().hitTestResultAtPoint(
docPoint, HitTestRequest::ReadOnly | HitTestRequest::Active);
- result.setToShadowHostIfInUserAgentShadowRoot();
+ result.setToShadowHostIfInRestrictedShadowRoot();
return result;
}
« no previous file with comments | « third_party/WebKit/Source/web/PageWidgetDelegate.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698