Index: Source/core/html/shadow/SpinButtonElement.cpp |
diff --git a/Source/core/html/shadow/SpinButtonElement.cpp b/Source/core/html/shadow/SpinButtonElement.cpp |
index e9cefa5ccc4570b4ee454285e35cb77b541cecfd..10c4037c3321bcf2a79aff8ae2e9b3b16a448719 100644 |
--- a/Source/core/html/shadow/SpinButtonElement.cpp |
+++ b/Source/core/html/shadow/SpinButtonElement.cpp |
@@ -193,7 +193,7 @@ void SpinButtonElement::releaseCapture() |
stopRepeatingTimer(); |
if (m_capturing) { |
if (Frame* frame = document().frame()) { |
- frame->eventHandler().setCapturingMouseEventsNode(0); |
+ frame->eventHandler().setCapturingMouseEventsNode(nullptr); |
m_capturing = false; |
if (Page* page = document().page()) |
page->chrome().unregisterPopupOpeningObserver(this); |