Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7987)

Unified Diff: content/renderer/pepper/pepper_plugin_instance_impl.cc

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Creating CoalescedWebInputEvent Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/pepper/pepper_plugin_instance_impl.cc
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc
index bb02dbee9f4bae1328332c385836a1440a336d44..7979ac33d8bc6c6a6d619318c9cfc5f2724f6a60 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
@@ -2213,7 +2213,7 @@ void PepperPluginInstanceImpl::SimulateInputEvent(
for (std::vector<std::unique_ptr<WebInputEvent>>::iterator it =
events.begin();
it != events.end(); ++it) {
- widget->handleInputEvent(*it->get());
+ widget->handleInputEvent(CoalescedWebInputEvent(*it->get()));
}
}

Powered by Google App Engine
This is Rietveld 408576698