Index: Source/web/ChromeClientImpl.cpp |
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp |
index f59cc5f67e7a3b96641135678b6269a6bdba4a8c..c208bb47a9906d227afb1b72a9fcba444ee8aa76 100644 |
--- a/Source/web/ChromeClientImpl.cpp |
+++ b/Source/web/ChromeClientImpl.cpp |
@@ -180,18 +180,18 @@ void ChromeClientImpl::focus() |
m_webView->client()->didFocus(); |
} |
-bool ChromeClientImpl::canTakeFocus(FocusType) |
+bool ChromeClientImpl::canTakeFocus(WebFocusType) |
{ |
// For now the browser can always take focus if we're not running layout |
// tests. |
return !layoutTestMode(); |
} |
-void ChromeClientImpl::takeFocus(FocusType type) |
+void ChromeClientImpl::takeFocus(WebFocusType type) |
{ |
if (!m_webView->client()) |
return; |
- if (type == FocusTypeBackward) |
+ if (type == WebFocusTypeBackward) |
m_webView->client()->focusPrevious(); |
else |
m_webView->client()->focusNext(); |