| Index: Source/core/layout/HitTestResult.cpp
|
| diff --git a/Source/core/layout/HitTestResult.cpp b/Source/core/layout/HitTestResult.cpp
|
| index d27fc1a97b7d01e849c27471f3614b10cd00bbdb..1b3876e599b007881bcdf2c1b2c973eca9db9681 100644
|
| --- a/Source/core/layout/HitTestResult.cpp
|
| +++ b/Source/core/layout/HitTestResult.cpp
|
| @@ -138,18 +138,18 @@ LayoutObject* HitTestResult::renderer() const
|
| return m_innerNode ? m_innerNode->renderer() : 0;
|
| }
|
|
|
| -void HitTestResult::setToShadowHostIfInUserAgentShadowRoot()
|
| +void HitTestResult::setToShadowHostIfInClosedShadowRoot()
|
| {
|
| if (Node* node = innerNode()) {
|
| if (ShadowRoot* containingShadowRoot = node->containingShadowRoot()) {
|
| - if (containingShadowRoot->type() == ShadowRoot::UserAgentShadowRoot)
|
| + if (containingShadowRoot->type() == ShadowRoot::ClosedShadowRoot)
|
| setInnerNode(node->shadowHost());
|
| }
|
| }
|
|
|
| if (Node* node = innerNonSharedNode()) {
|
| if (ShadowRoot* containingShadowRoot = node->containingShadowRoot()) {
|
| - if (containingShadowRoot->type() == ShadowRoot::UserAgentShadowRoot)
|
| + if (containingShadowRoot->type() == ShadowRoot::ClosedShadowRoot)
|
| setInnerNonSharedNode(node->shadowHost());
|
| }
|
| }
|
|
|