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

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

Issue 660663002: Clear pending events upon main frame navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates Created 6 years, 1 month 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/input/synthetic_gesture_target_base.cc
diff --git a/content/browser/renderer_host/input/synthetic_gesture_target_base.cc b/content/browser/renderer_host/input/synthetic_gesture_target_base.cc
index e1fd3b06f3136572db2eb024dcee478faa9f961e..1177914d5f7eb3d66f2a12b8a240f345d258aacf 100644
--- a/content/browser/renderer_host/input/synthetic_gesture_target_base.cc
+++ b/content/browser/renderer_host/input/synthetic_gesture_target_base.cc
@@ -104,7 +104,7 @@ void SyntheticGestureTargetBase::DispatchWebMouseEventToPlatform(
}
void SyntheticGestureTargetBase::SetNeedsFlush() {
- host_->SetNeedsFlush();
+ host_->SetNeedsFlushInput();
}
SyntheticGestureParams::GestureSourceType

Powered by Google App Engine
This is Rietveld 408576698