Index: third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
index fdbe2cb92558dd4df9696321d76e20450e06b0ae..343d755721ab1c08841f111814c4bbea15f37d0b 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
@@ -371,7 +371,7 @@ bool HTMLFormControlElement::shouldHaveFocusAppearance() const { |
void HTMLFormControlElement::dispatchFocusEvent( |
Element* oldFocusedElement, |
WebFocusType type, |
- InputDeviceCapabilities* sourceCapabilities) { |
+ const InputDeviceCapabilitiesValue& sourceCapabilities) { |
if (type != WebFocusTypePage) |
m_wasFocusedByMouse = type == WebFocusTypeMouse; |
// ContainerNode::handleStyleChangeOnFocusStateChange() will inform |
@@ -602,7 +602,7 @@ void HTMLFormControlElement::setCustomValidity(const String& error) { |
void HTMLFormControlElement::dispatchBlurEvent( |
Element* newFocusedElement, |
WebFocusType type, |
- InputDeviceCapabilities* sourceCapabilities) { |
+ const InputDeviceCapabilitiesValue& sourceCapabilities) { |
if (type != WebFocusTypePage) |
m_wasFocusedByMouse = false; |
HTMLElement::dispatchBlurEvent(newFocusedElement, type, sourceCapabilities); |