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

Unified Diff: content/common/input/event_with_latency_info.cc

Issue 2233543002: Make first TouchStart and first TouchMove events on a flinging layer non-blocking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fling intervetion 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: content/common/input/event_with_latency_info.cc
diff --git a/content/common/input/event_with_latency_info.cc b/content/common/input/event_with_latency_info.cc
index 0fc592bee8471de7d8b8d977227504cc6dc28b6c..fc858957fca1f90fc802b02b96a589d012721ea5 100644
--- a/content/common/input/event_with_latency_info.cc
+++ b/content/common/input/event_with_latency_info.cc
@@ -49,10 +49,10 @@ WebInputEvent::DispatchType MergeDispatchTypes(
static_assert(WebInputEvent::DispatchType::EventNonBlocking <
WebInputEvent::DispatchType::ListenersNonBlockingPassive,
"Enum not ordered correctly");
- static_assert(
- WebInputEvent::DispatchType::ListenersNonBlockingPassive <
- WebInputEvent::DispatchType::ListenersForcedNonBlockingPassive,
- "Enum not ordered correctly");
+ static_assert(WebInputEvent::DispatchType::ListenersNonBlockingPassive <
+ WebInputEvent::DispatchType::
+ ListenersForcedNonBlockingPassiveDueToFling,
+ "Enum not ordered correctly");
return static_cast<WebInputEvent::DispatchType>(
std::min(static_cast<int>(type_1), static_cast<int>(type_2)));
}

Powered by Google App Engine
This is Rietveld 408576698