diff options
-rw-r--r-- | Source/WebCore/html/HTMLMediaElement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/html/HTMLMediaElement.cpp b/Source/WebCore/html/HTMLMediaElement.cpp index ae0571c..5cd2ddd 100644 --- a/Source/WebCore/html/HTMLMediaElement.cpp +++ b/Source/WebCore/html/HTMLMediaElement.cpp @@ -2429,7 +2429,7 @@ void HTMLMediaElement::defaultEventHandler(Event* event) // This allows user to click the video area to toggle play/pause state. if (event->type() == eventNames().clickEvent && !hasEventListeners(eventNames().clickEvent)) { - m_userGestureInitiated = true; + m_userGestureInitiated = processingUserGesture(); togglePlayState(); } #endif |