Index: Source/core/html/shadow/TextControlInnerElements.cpp |
diff --git a/Source/core/html/shadow/TextControlInnerElements.cpp b/Source/core/html/shadow/TextControlInnerElements.cpp |
index 4c362a90de0d2cef4614b7f53e6a826999eadbd4..4b420c0b20e89febb949e9749a616ab41ef1c095 100644 |
--- a/Source/core/html/shadow/TextControlInnerElements.cpp |
+++ b/Source/core/html/shadow/TextControlInnerElements.cpp |
@@ -215,7 +215,7 @@ void SearchFieldCancelButtonElement::detach(const AttachContext& context) |
{ |
if (m_capturing) { |
if (Frame* frame = document().frame()) |
- frame->eventHandler().setCapturingMouseEventsNode(0); |
+ frame->eventHandler().setCapturingMouseEventsNode(nullptr); |
} |
HTMLDivElement::detach(context); |
} |
@@ -245,7 +245,7 @@ void SearchFieldCancelButtonElement::defaultEventHandler(Event* event) |
if (event->type() == EventTypeNames::mouseup && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) { |
if (m_capturing) { |
if (Frame* frame = document().frame()) { |
- frame->eventHandler().setCapturingMouseEventsNode(0); |
+ frame->eventHandler().setCapturingMouseEventsNode(nullptr); |
m_capturing = false; |
} |
if (hovered()) { |
@@ -336,7 +336,7 @@ void InputFieldSpeechButtonElement::defaultEventHandler(Event* event) |
if (event->type() == EventTypeNames::mouseup && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) { |
if (m_capturing && renderer() && renderer()->visibleToHitTesting()) { |
if (Frame* frame = document().frame()) { |
- frame->eventHandler().setCapturingMouseEventsNode(0); |
+ frame->eventHandler().setCapturingMouseEventsNode(nullptr); |
m_capturing = false; |
} |
} |
@@ -435,7 +435,7 @@ void InputFieldSpeechButtonElement::detach(const AttachContext& context) |
{ |
if (m_capturing) { |
if (Frame* frame = document().frame()) |
- frame->eventHandler().setCapturingMouseEventsNode(0); |
+ frame->eventHandler().setCapturingMouseEventsNode(nullptr); |
} |
if (m_listenerId) { |