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

Unified Diff: sky/viewer/document_view.cc

Issue 1033513003: Cleans up events to just the parts we're actually using (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cleanup Created 5 years, 9 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 | « sky/viewer/converters/input_event_types.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/document_view.cc
diff --git a/sky/viewer/document_view.cc b/sky/viewer/document_view.cc
index e0b9637f27b432cc0797fcf7e8cdfa6923e7b945..bd360b7690e348a2f5c292f5bb910f3fc7e8675a 100644
--- a/sky/viewer/document_view.cc
+++ b/sky/viewer/document_view.cc
@@ -361,7 +361,7 @@ void DocumentView::OnViewInputEvent(
*touch_event, result, this)) {
for (auto& gesture : *gestures) {
scoped_ptr<blink::WebInputEvent> gesture_event =
- ConvertEvent(mojo::Event::From(*gesture), device_pixel_ratio);
+ ConvertEvent(*gesture, device_pixel_ratio);
if (gesture_event)
web_view_->handleInputEvent(*gesture_event);
}
« no previous file with comments | « sky/viewer/converters/input_event_types.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698