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

Unified Diff: ui/aura/window_event_dispatcher_unittest.cc

Issue 2869823003: [VSync Queue] Plug touch ack to gesture events and flush vsync queue if necessary (Closed)
Patch Set: Fix MSAN Use-of-uninitialized-value: Initialize GestureEventDetails Created 3 years, 6 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: ui/aura/window_event_dispatcher_unittest.cc
diff --git a/ui/aura/window_event_dispatcher_unittest.cc b/ui/aura/window_event_dispatcher_unittest.cc
index c14ab34d8b4b0f9860b446ffb419604fa9ebf080..58efc20bfa9e49e9ab075fb9c88b41fa818cb33d 100644
--- a/ui/aura/window_event_dispatcher_unittest.cc
+++ b/ui/aura/window_event_dispatcher_unittest.cc
@@ -941,7 +941,9 @@ TEST_P(WindowEventDispatcherTest, CallToProcessedTouchEvent) {
std::unique_ptr<aura::Window> window(CreateTestWindowWithDelegate(
&delegate, 1, gfx::Rect(50, 50, 100, 100), root_window()));
- host()->dispatcher()->ProcessedTouchEvent(0, window.get(), ui::ER_UNHANDLED);
+ host()->dispatcher()->ProcessedTouchEvent(
+ 0, window.get(), ui::ER_UNHANDLED,
+ false /* is_source_touch_event_set_non_blocking */);
}
// This event handler requests the dispatcher to start holding pointer-move
@@ -2604,8 +2606,9 @@ class AsyncWindowDelegate : public test::TestWindowDelegate {
// Convert touch event back to root window coordinates.
event->ConvertLocationToTarget(window_, window_->GetRootWindow());
event->DisableSynchronousHandling();
- dispatcher_->ProcessedTouchEvent(event->unique_event_id(), window_,
- ui::ER_UNHANDLED);
+ dispatcher_->ProcessedTouchEvent(
+ event->unique_event_id(), window_, ui::ER_UNHANDLED,
+ false /* is_source_touch_event_set_non_blocking */);
event->StopPropagation();
}

Powered by Google App Engine
This is Rietveld 408576698