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

Unified Diff: Source/core/events/KeyboardEvent.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/KeyboardEvent.h ('k') | Source/core/events/MouseEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/KeyboardEvent.cpp
diff --git a/Source/core/events/KeyboardEvent.cpp b/Source/core/events/KeyboardEvent.cpp
index b5241fa387c315fa99477d4be0c5616bc0576ab8..7eeb3676a9c895fff1e89cbdadca4f34fd69907b 100644
--- a/Source/core/events/KeyboardEvent.cpp
+++ b/Source/core/events/KeyboardEvent.cpp
@@ -219,6 +219,11 @@ int KeyboardEvent::which() const
return keyCode();
}
+PassRefPtrWillBeRawPtr<EventDispatchMediator> KeyboardEvent::createMediator()
+{
+ return KeyboardEventDispatchMediator::create(this);
+}
+
DEFINE_TRACE(KeyboardEvent)
{
UIEventWithKeyState::trace(visitor);
« no previous file with comments | « Source/core/events/KeyboardEvent.h ('k') | Source/core/events/MouseEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698