summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/chromium/src/WebNotification.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/src/WebNotification.cpp')
-rw-r--r--Source/WebKit/chromium/src/WebNotification.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebKit/chromium/src/WebNotification.cpp b/Source/WebKit/chromium/src/WebNotification.cpp
index f6e981d3c..54209fd97 100644
--- a/Source/WebKit/chromium/src/WebNotification.cpp
+++ b/Source/WebKit/chromium/src/WebNotification.cpp
@@ -36,6 +36,7 @@
#include "Event.h"
#include "Notification.h"
#include "UserGestureIndicator.h"
+#include "WindowFocusAllowedIndicator.h"
#include "platform/WebString.h"
#include "WebTextDirection.h"
@@ -136,8 +137,8 @@ void WebNotification::dispatchCloseEvent(bool /* byUser */)
void WebNotification::dispatchClickEvent()
{
- // Make sure clicks on notifications are treated as user gestures.
UserGestureIndicator gestureIndicator(DefinitelyProcessingUserGesture);
+ WindowFocusAllowedIndicator windowFocusAllowed;
dispatchEvent(eventNames().clickEvent);
}