Index: Source/core/html/shadow/SliderThumbElement.cpp |
diff --git a/Source/core/html/shadow/SliderThumbElement.cpp b/Source/core/html/shadow/SliderThumbElement.cpp |
index 94dae013239bb98a9f604505b5f350db65206166..c4c94e3f2925bb70a3cf5c6c7807841b903c9cbb 100644 |
--- a/Source/core/html/shadow/SliderThumbElement.cpp |
+++ b/Source/core/html/shadow/SliderThumbElement.cpp |
@@ -318,7 +318,7 @@ void SliderThumbElement::stopDragging() |
return; |
if (Frame* frame = document().frame()) |
- frame->eventHandler().setCapturingMouseEventsNode(0); |
+ frame->eventHandler().setCapturingMouseEventsNode(nullptr); |
m_inDragMode = false; |
if (renderer()) |
renderer()->setNeedsLayout(); |
@@ -385,7 +385,7 @@ void SliderThumbElement::detach(const AttachContext& context) |
{ |
if (m_inDragMode) { |
if (Frame* frame = document().frame()) |
- frame->eventHandler().setCapturingMouseEventsNode(0); |
+ frame->eventHandler().setCapturingMouseEventsNode(nullptr); |
} |
HTMLDivElement::detach(context); |
} |