Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 8b7320a2516e8fb3b3b8b5ca36af9fd44f7eeeab..1eacaa5647b8f52538fddbc2a586abc4763527ca 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -2756,7 +2756,7 @@ void WebViewImpl::setInitialFocus(bool reverse) |
if (Document* document = toLocalFrame(frame)->document()) |
document->setFocusedElement(nullptr); |
} |
- page()->focusController().setInitialFocus(reverse ? FocusTypeBackward : FocusTypeForward); |
+ page()->focusController().setInitialFocus(reverse ? WebFocusTypeBackward : WebFocusTypeForward); |
} |
void WebViewImpl::clearFocusedElement() |
@@ -2888,7 +2888,7 @@ void WebViewImpl::computeScaleAndScrollForFocusedNode(Node* focusedNode, float& |
void WebViewImpl::advanceFocus(bool reverse) |
{ |
- page()->focusController().advanceFocus(reverse ? FocusTypeBackward : FocusTypeForward); |
+ page()->focusController().advanceFocus(reverse ? WebFocusTypeBackward : WebFocusTypeForward); |
} |
double WebViewImpl::zoomLevel() |