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

Unified Diff: content/browser/renderer_host/render_widget_host_input_event_router.cc

Issue 2649573003: Revert of Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: 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
Index: content/browser/renderer_host/render_widget_host_input_event_router.cc
diff --git a/content/browser/renderer_host/render_widget_host_input_event_router.cc b/content/browser/renderer_host/render_widget_host_input_event_router.cc
index cb96ee2baaebbe5c11a0de76ae583bf83fb0c90c..888d7ee4c3d191e145f4cd6c160fa9a2ce93f2d2 100644
--- a/content/browser/renderer_host/render_widget_host_input_event_router.cc
+++ b/content/browser/renderer_host/render_widget_host_input_event_router.cc
@@ -359,10 +359,6 @@
break;
case blink::WebInputEvent::TouchEnd:
case blink::WebInputEvent::TouchCancel:
- // It might be safer to test active_touches_ and only decrement it if it's
- // non-zero, since active_touches_ can be reset to 0 in
- // OnRenderWidgetHostViewBaseDestroyed, and this can happen between the
- // TouchStart and a subsequent TouchMove/End/Cancel.
DCHECK(active_touches_);
active_touches_ -= CountChangedTouchPoints(*event);
if (!touch_target_.target)
« no previous file with comments | « content/browser/renderer_host/input/input_router_impl.h ('k') | content/browser/site_per_process_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698