Index: Source/core/html/shadow/ClearButtonElement.cpp |
diff --git a/Source/core/html/shadow/ClearButtonElement.cpp b/Source/core/html/shadow/ClearButtonElement.cpp |
index f3e0d1db56e63b0efa6a7c737c1ef5ea50d1d89b..faac6868b351579e5dcc8bbe2e872fa09f6b7517 100644 |
--- a/Source/core/html/shadow/ClearButtonElement.cpp |
+++ b/Source/core/html/shadow/ClearButtonElement.cpp |
@@ -55,7 +55,7 @@ void ClearButtonElement::detach(const AttachContext& context) |
{ |
if (m_capturing) { |
if (Frame* frame = document().frame()) |
- frame->eventHandler().setCapturingMouseEventsNode(0); |
+ frame->eventHandler().setCapturingMouseEventsNode(nullptr); |
} |
HTMLDivElement::detach(context); |
} |
@@ -66,7 +66,7 @@ void ClearButtonElement::releaseCapture() |
return; |
if (Frame* frame = document().frame()) { |
- frame->eventHandler().setCapturingMouseEventsNode(0); |
+ frame->eventHandler().setCapturingMouseEventsNode(nullptr); |
m_capturing = false; |
} |
} |
@@ -98,7 +98,7 @@ void ClearButtonElement::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()) { |