Index: Source/core/html/HTMLFormControlElement.cpp |
diff --git a/Source/core/html/HTMLFormControlElement.cpp b/Source/core/html/HTMLFormControlElement.cpp |
index cbd03807c350ba30f9ee2e93c93d31ac9f077600..32e94d60cd3e3e3157109a7db3b7e960142cd797 100644 |
--- a/Source/core/html/HTMLFormControlElement.cpp |
+++ b/Source/core/html/HTMLFormControlElement.cpp |
@@ -375,10 +375,10 @@ bool HTMLFormControlElement::shouldHaveFocusAppearance() const |
return !m_wasFocusedByMouse || shouldShowFocusRingOnMouseFocus(); |
} |
-void HTMLFormControlElement::dispatchFocusEvent(Element* oldFocusedElement, FocusType type) |
+void HTMLFormControlElement::dispatchFocusEvent(Element* oldFocusedElement, WebFocusType type) |
{ |
- if (type != FocusTypePage) |
- m_wasFocusedByMouse = type == FocusTypeMouse; |
+ if (type != WebFocusTypePage) |
+ m_wasFocusedByMouse = type == WebFocusTypeMouse; |
HTMLElement::dispatchFocusEvent(oldFocusedElement, type); |
} |