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

Unified Diff: ui/events/blink/compositor_thread_event_queue.cc

Issue 2573073003: Collapse the API surface on WebInputEvent via accessor functions. (Closed)
Patch Set: Fix nits Created 3 years, 11 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 | « ui/events/blink/blink_event_util.cc ('k') | ui/events/blink/event_with_callback.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/compositor_thread_event_queue.cc
diff --git a/ui/events/blink/compositor_thread_event_queue.cc b/ui/events/blink/compositor_thread_event_queue.cc
index 47e906f98a532e65cb4bf52b52bf6c7829127b89..5083d35d1383c43cd4c818321be1a62f4cf0bcf9 100644
--- a/ui/events/blink/compositor_thread_event_queue.cc
+++ b/ui/events/blink/compositor_thread_event_queue.cc
@@ -17,7 +17,7 @@ CompositorThreadEventQueue::~CompositorThreadEventQueue() {}
void CompositorThreadEventQueue::Queue(
std::unique_ptr<EventWithCallback> new_event,
base::TimeTicks timestamp_now) {
- if (queue_.empty() || !IsContinuousGestureEvent(new_event->event().type) ||
+ if (queue_.empty() || !IsContinuousGestureEvent(new_event->event().type()) ||
!IsCompatibleScrollorPinch(ToWebGestureEvent(new_event->event()),
ToWebGestureEvent(queue_.back()->event()))) {
queue_.emplace_back(std::move(new_event));
« no previous file with comments | « ui/events/blink/blink_event_util.cc ('k') | ui/events/blink/event_with_callback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698