Index: third_party/WebKit/Source/core/input/KeyboardEventManager.cpp |
diff --git a/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp b/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp |
index eaa25b9ba498ad7754f8eb809e77f5180d1eb79d..c1c00a7c9b6d3ac08908c124baeb3c3877692100 100644 |
--- a/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp |
+++ b/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp |
@@ -4,6 +4,7 @@ |
#include "KeyboardEventManager.h" |
+#include "core/dom/DocumentUserGestureToken.h" |
#include "core/dom/Element.h" |
#include "core/editing/Editor.h" |
#include "core/events/KeyboardEvent.h" |
@@ -104,7 +105,8 @@ WebInputEventResult KeyboardEventManager::keyEvent( |
if (!node) |
return WebInputEventResult::NotHandled; |
- UserGestureIndicator gestureIndicator(UserGestureToken::create()); |
+ UserGestureIndicator gestureIndicator( |
+ DocumentUserGestureToken::create(m_frame->document())); |
// In IE, access keys are special, they are handled after default keydown |
// processing, but cannot be canceled - this is hard to match. On Mac OS X, |