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

Unified Diff: content/browser/renderer_host/input/touch_event_queue.cc

Issue 569793003: Remove unnecessary DCHECK in TouchEventQueue handler notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | content/browser/renderer_host/input/touch_event_queue_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/touch_event_queue.cc
diff --git a/content/browser/renderer_host/input/touch_event_queue.cc b/content/browser/renderer_host/input/touch_event_queue.cc
index e2ead0b7c3786c29eeb86f0894dcfc9f03e8c4ed..d98655a1668f58f6aea392e15ad41341997c943d 100644
--- a/content/browser/renderer_host/input/touch_event_queue.cc
+++ b/content/browser/renderer_host/input/touch_event_queue.cc
@@ -626,7 +626,6 @@ void TouchEventQueue::OnHasTouchEventHandlers(bool has_handlers) {
if (touch_filtering_state_ == DROP_ALL_TOUCHES) {
// If no touch handler was previously registered, ensure that we don't
// send a partial touch sequence to the renderer.
- DCHECK(touch_queue_.empty());
touch_filtering_state_ = DROP_TOUCHES_IN_SEQUENCE;
}
} else {
« no previous file with comments | « no previous file | content/browser/renderer_host/input/touch_event_queue_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698