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

Unified Diff: Source/core/events/GestureEvent.cpp

Issue 1227363006: Virtualize EventDispatchMediator creation and cleanup calling. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master_event_trusted_main
Patch Set: Rebase Created 5 years, 5 months 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
« no previous file with comments | « Source/core/events/GestureEvent.h ('k') | Source/core/events/KeyboardEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/GestureEvent.cpp
diff --git a/Source/core/events/GestureEvent.cpp b/Source/core/events/GestureEvent.cpp
index 2fd3bcb5e04aba0c9b09bffb6ee67c6bfb85b5d0..d97d7e29a45f6ff5096989e07555b27cbdfbb91b 100644
--- a/Source/core/events/GestureEvent.cpp
+++ b/Source/core/events/GestureEvent.cpp
@@ -95,6 +95,11 @@ GestureEvent::GestureEvent(const AtomicString& type, PassRefPtrWillBeRawPtr<Abst
setUICreateTime(uiTimestamp);
}
+PassRefPtrWillBeRawPtr<EventDispatchMediator> GestureEvent::createMediator()
+{
+ return GestureEventDispatchMediator::create(this);
+}
+
DEFINE_TRACE(GestureEvent)
{
MouseRelatedEvent::trace(visitor);
« no previous file with comments | « Source/core/events/GestureEvent.h ('k') | Source/core/events/KeyboardEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698