summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/UserGestureIndicator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/UserGestureIndicator.cpp')
-rw-r--r--WebCore/dom/UserGestureIndicator.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/WebCore/dom/UserGestureIndicator.cpp b/WebCore/dom/UserGestureIndicator.cpp
index 9fb30d3..06a3831 100644
--- a/WebCore/dom/UserGestureIndicator.cpp
+++ b/WebCore/dom/UserGestureIndicator.cpp
@@ -28,13 +28,12 @@
namespace WebCore {
-bool UserGestureIndicator::s_processingUserGesture = false;
+ProcessingUserGestureState UserGestureIndicator::s_processingUserGesture = PossiblyProcessingUserGesture;
UserGestureIndicator::UserGestureIndicator(ProcessingUserGestureState state)
: m_previousValue(s_processingUserGesture)
{
- if (state == DefinitelyProcessingUserGesture)
- s_processingUserGesture = true;
+ s_processingUserGesture = state;
}
UserGestureIndicator::~UserGestureIndicator()