| Index: third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| index b277ab739a8557379fe8f239435a01058b647837..b96651dbd5c2c2eeb84889dc5ceadb9c4ffe808c 100644
|
| --- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| @@ -983,7 +983,7 @@ void ContainerNode::setFocus(bool received)
|
| // <input type="date"> the same way as author shadow.
|
| if (ShadowRoot* root = containingShadowRoot()) {
|
| if (root->type() != ShadowRootType::UserAgent)
|
| - shadowHost()->setFocus(received);
|
| + ownerShadowHost()->setFocus(received);
|
| }
|
|
|
| // If this is an author shadow host and indirectly focused (has focused element within
|
|
|