| Index: third_party/WebKit/Source/core/testing/Internals.cpp
|
| diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| index 1b704fef525a4712436a5dc8450d2a1f5907ff91..8cc9fc6433ccf22bb572bf66b5ee5c164db19a82 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -2367,7 +2367,7 @@ void Internals::setFocused(bool focused)
|
|
|
| void Internals::setInitialFocus(bool reverse)
|
| {
|
| - frame()->document()->setFocusedElement(nullptr);
|
| + frame()->document()->clearFocusedElement();
|
| frame()->page()->focusController().setInitialFocus(reverse ? WebFocusTypeBackward : WebFocusTypeForward);
|
| }
|
|
|
|
|