Index: Source/web/WebPluginContainerImpl.cpp |
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp |
index deef5cdb70ffa84d061b9bf4ecce0d1cc7d51081..c98cc9e520b6e07b169054c95b26d59e08b77a75 100644 |
--- a/Source/web/WebPluginContainerImpl.cpp |
+++ b/Source/web/WebPluginContainerImpl.cpp |
@@ -837,6 +837,8 @@ void WebPluginContainerImpl::handleGestureEvent(GestureEvent* event) |
WebGestureEventBuilder webEvent(this, m_element->renderer(), *event); |
if (webEvent.type == WebInputEvent::Undefined) |
return; |
+ if (event->type() == EventTypeNames::gesturetapdown) |
+ focusPlugin(); |
WebCursorInfo cursorInfo; |
if (m_webPlugin->handleInputEvent(webEvent, cursorInfo)) { |
event->setDefaultHandled(); |