summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/UserTypingGestureIndicator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/UserTypingGestureIndicator.cpp')
-rw-r--r--Source/WebCore/dom/UserTypingGestureIndicator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/dom/UserTypingGestureIndicator.cpp b/Source/WebCore/dom/UserTypingGestureIndicator.cpp
index aeaabec64..43c61dbab 100644
--- a/Source/WebCore/dom/UserTypingGestureIndicator.cpp
+++ b/Source/WebCore/dom/UserTypingGestureIndicator.cpp
@@ -54,7 +54,7 @@ UserTypingGestureIndicator::UserTypingGestureIndicator(Frame& frame)
, m_previousFocusedNode(focusedNode())
{
s_processingUserTypingGesture = true;
- focusedNode() = frame.document() ? frame.document()->focusedElement() : 0;
+ focusedNode() = frame.document() ? frame.document()->focusedElement() : nullptr;
}
UserTypingGestureIndicator::~UserTypingGestureIndicator()