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

Unified Diff: third_party/WebKit/Source/web/InspectorOverlay.cpp

Issue 2290313002: Remove PlatformKeyboardEvent (Closed)
Patch Set: One more fix Created 4 years, 4 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
Index: third_party/WebKit/Source/web/InspectorOverlay.cpp
diff --git a/third_party/WebKit/Source/web/InspectorOverlay.cpp b/third_party/WebKit/Source/web/InspectorOverlay.cpp
index 2c1973061907767c39c3d3eef87baf97c3f9379b..4da640907079065fc865c193e6064eb5ec0a4e6c 100644
--- a/third_party/WebKit/Source/web/InspectorOverlay.cpp
+++ b/third_party/WebKit/Source/web/InspectorOverlay.cpp
@@ -276,8 +276,7 @@ bool InspectorOverlay::handleInputEvent(const WebInputEvent& inputEvent)
overlayMainFrame()->eventHandler().handleTouchEvent(touchEvent);
}
if (WebInputEvent::isKeyboardEventType(inputEvent.type)) {
- PlatformKeyboardEvent keyboardEvent = PlatformKeyboardEventBuilder(static_cast<const WebKeyboardEvent&>(inputEvent));
- overlayMainFrame()->eventHandler().keyEvent(keyboardEvent);
+ overlayMainFrame()->eventHandler().keyEvent(static_cast<const WebKeyboardEvent&>(inputEvent));
}
if (inputEvent.type == WebInputEvent::MouseWheel) {

Powered by Google App Engine
This is Rietveld 408576698